Returns a list of Assets workspace IDs. Include a workspace ID in the path to access the Assets REST APIs.
Permissions required: Any
Connect app scope required: READ
read:servicedesk-request
integer
integer
Returned if the request is successful.
1
2
3
4
curl --request GET \
--url 'https://your-domain.atlassian.net/rest/servicedeskapi/assets/workspace' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"_expands": [],
"size": 1,
"start": 1,
"limit": 1,
"isLastPage": true,
"_links": {
"base": "https://your-domain.atlassian.net/rest/servicedeskapi",
"context": "context",
"next": "https://your-domain.atlassian.net/rest/servicedeskapi/rest/servicedeskapi/assets/workspace?start=2&limit=1",
"prev": "https://your-domain.atlassian.net/rest/servicedeskapi/rest/servicedeskapi/assets/workspace?start=0&limit=1"
},
"values": [
{
"workspaceId": "1060ba0e-178b-4e0e-g0h1-jedb02cccb5f"
}
]
}
This endpoint is deprecated, please use /assets/workspace/.
Connect apps cannot access this REST resource.
read:servicedesk-request
integer
integer
200 response
1
2
3
4
curl --request GET \
--url 'https://your-domain.atlassian.net/rest/servicedeskapi/insight/workspace' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"_expands": [
"<string>"
],
"_links": {
"base": "<string>",
"context": "<string>",
"next": "<string>",
"prev": "<string>",
"self": "<string>"
},
"isLastPage": true,
"limit": 111,
"size": 37,
"start": 45,
"values": [
{
"workspaceId": "<string>"
}
]
}
Rate this page: