Get workspaces
This operation returns the list of workspaces belonging to the current user, including their names.
Request
Parameters |
---|
Get the list of workspaces. The value is |
Limit the number of returned workspaces. |
{
"op": "get_workspaces",
"limit": 4
}
Response
Attributes |
---|
The status of the operation. The value can |
The list of workspaces for the current user. Returned in case of a successful operation. |
Error message. Returned in case of a failed operation. The value is: |
{
"op_status": "success",
"workspaces": [
{
"id": 42809779,
"name": "My Workspace"
},
{
"id": 73878548,
"name": "VPN"
},
{
"id": 36489826,
"name": "Pentest firstexample.org"
},
{
"id": 19939241,
"name": "Pentest otherexample.org"
}
]
}