Returns all the users of a specified organization.
string
Requirednumber
number
Returns a paged list of users of the organization
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/organization/{organizationId}/user' \
--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
22
23
24
25
26
27
28
29
30
31
{
"_expands": [
"<string>"
],
"size": 1,
"start": 0,
"limit": 50,
"isLastPage": true,
"_links": {
"base": "<string>",
"context": "<string>",
"next": "<string>",
"prev": "<string>",
"self": "<string>"
},
"values": [
{
"name": "<string>",
"key": "<string>",
"emailAddress": "<string>",
"displayName": "<string>",
"active": true,
"timeZone": "<string>",
"_links": {
"jiraRest": "<string>",
"avatarUrls": {},
"self": "<string>"
}
}
]
}
Adds users to an organization.
string
RequiredThe DTO of the users to add.
array<string>
Add User to organization was successful
1
2
3
4
5
6
7
8
curl --request POST \
--url 'http://{baseurl}/rest/servicedeskapi/organization/{organizationId}/user' \
--header 'Content-Type: application/json' \
--data '{
"usernames": [
"<string>"
]
}'