curl --request PATCH \
--url https://api.eda.prisme.ai/v2/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"status": "pending",
"meta": {},
"platformRole": "<string>",
"groups": [
"<string>"
]
}'
{
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<any>"
}
},
"mfa": "totp",
"meta": {},
"platformRole": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"id": "<string>"
}
User management API, reserved to super admins.
curl --request PATCH \
--url https://api.eda.prisme.ai/v2/users/{userId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"status": "pending",
"meta": {},
"platformRole": "<string>",
"groups": [
"<string>"
]
}'
{
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<any>"
}
},
"mfa": "totp",
"meta": {},
"platformRole": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"id": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Target user id
Success Response
The response is of type object
.
Was this page helpful?