Adds one or more existing customers to the given service project. If you need to create a customer, see Create customer.
Administer project permission is required, or agents if public signups and invites are enabled for the service project.)
string
RequiredThe customers to add to the service project.
array<string>
Return the customers added to the service project.
1
2
3
4
5
6
7
8
9
curl --request POST \
--url 'http://{baseurl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"usernames": [
"<string>"
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"name": "<string>",
"key": "<string>",
"emailAddress": "<string>",
"displayName": "<string>",
"active": true,
"timeZone": "<string>",
"_links": {
"jiraRest": "<string>",
"avatarUrls": {},
"self": "<string>"
}
}
Rate this page: