curl --request PATCH \
--url https://api.scholarlysoftware.com/api/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "user",
"attributes": {
"display_name": "<string>",
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "user",
"attributes": {
"display_name": "<string>",
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Updates an existing user
curl --request PATCH \
--url https://api.scholarlysoftware.com/api/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "user",
"attributes": {
"display_name": "<string>",
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "user",
"attributes": {
"display_name": "<string>",
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer token
User UUID
Show child attributes
"user""user"
Show child attributes
The full list of email addresses for the user. The first address in the array is the primary email address.
Some special notes about setting emails in Sandboxes:
[
"[email protected]",
"[email protected]"
]user updated
Show child attributes
"user""user"
Show child attributes
The full list of email addresses for the user. The first address in the array is the primary email address.
Some special notes about setting emails in Sandboxes:
[
"[email protected]",
"[email protected]"
]Show child attributes
Show child attributes