Skip to main content
POST
/
workspaceManagement
/
users
Create user
curl --request POST \
  --url https://api.getcargo.io/v1/workspaceManagement/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userEmail": "<string>",
  "roleSlug": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body schema.

userEmail
string
required
roleSlug
string
required

Response

Successful response

The response is of type object.