POST
/
v0
/
user
curl --request POST \
  --url https://api.sandbox.getasset.com/v0/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "primary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
  "secondary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
  "business_id": "bus_oZnzBzmUzVSGbPqRFEe6J",
  "roles": "role_admin"
}'
{
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json
Successful Response

The response is of type object.