Skip to main content

Assign users

Use this request to notify AppDirect that a new user has been assigned on the developer system.

For full reference documentation, see Assign user.

Endpoint URL: /sync/v1/tasks

Request operation: ASSIGN

Mandatory parameters in the request:

  • type - The request type.
  • operation - The operation, for example Assign.
  • accountIdentifier - The Account Identifier provided when the subscription was created.
  • developerIdentifier - The UUID of the Developer's company.
  • userIdentifier - The user identifier in the Developer's system.

JSON example

{
"type": "ASSIGNMENT",
"operation": "ASSIGN",
"accountIdentifier": "f951b18c-5ba8-4f5e-9aae-22888639ac1e",
"developerIdentifier": "f839abef-00c4-4e09-927f-1ef2b4feab5f",
"userIdentifier": "325cf3ba-a842-4fc3-b15e-a686a6f07369",
"userName": "alex.ferguson@example.com",
"firstName": "Alex",
"lastName": "Ferguson",
"email": "alex.ferguson@example.com"
}

Response

An empty HTTP response with status code 202 (Accepted) is returned. Otherwise, an error message with the corresponding HTTP status code is sent.

Was this page helpful?