Create and Update User

POST /api/v1_1/user

post

https://{domain}.customersuccessbox.com/api/v1_1/user
POST User allow you to create or update a user.
Request
Response
Request
Path Parameters
Authorization
required
string
Bearer {api_key}
Content-Type
required
string
application/json
Body Parameters
user_id
required
string
Unique identifier for a user
account_id
required
string
Unique identifier for an account
Response
200: OK

Body example

Refer to available fields in User Resource for attributes that can be set and updated for a user using this call.

Only those fields are allowed which aren't marked as Read-only.

{
"user_id": "fg127",
"account_id": "ACME343rq"
}

CURL request example

curl --location --request POST "https://{domain}.customersuccessbox.com/api/v1_1/user" \
--header "Authorization: Bearer {api_key}" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": \"fg127\",
\"account_id\": \"ACME343rq\"
}"