Server
Jira Service Management / Reference / REST API

Service Desk Customer

POST

Add customers

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.)

Request

Path parameters

serviceDeskId

string

Required

Request bodyapplication/json

The customers to add to the service project.

usernames

array<string>

Responses

Return the customers added to the service project.

application/json

UserDTO
POST/servicedeskapi/servicedesk/{serviceDeskId}/customer
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>" ] }'
200Response
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: