Skip to main content
POST
/
platform
/
admin
/
users
/
primary
cURL
curl --request POST \
  --url https://api.example.com/platform/admin/users/primary \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Query Parameters

api-version
string | null

Body

application/json

Represents a request payload for creating the primary platform user.

email
string

Email address of the primary platform user.

Response

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.

Example:
{
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"id": 5,
"isEnabled": true,
"userId": 1
}