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>",
"custom_fields": {},
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"admin_assistant_roles": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "admin_assistant_role",
"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>",
"custom_fields": {},
"emails": [
"[email protected]",
"[email protected]"
]
},
"relationships": {
"profile": {
"links": {
"related": "<string>"
},
"meta": {},
"data": {
"type": "profile",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"admin_assistant_roles": {
"links": {
"related": "<string>"
},
"meta": {},
"data": [
{
"type": "admin_assistant_role",
"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 updated
Show child attributes