RoutesUsersUsersub
/users/{userSub}
AuthorizationBearer <token>
In: header
Path Parameters
userSub*string
Request Body
application/json
email*string
Match
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailname*string
role*string
Value in
"member" | "owner"isDisabled*boolean
Response Body
application/json
curl -X PUT "https://YOUR_ORG_ID.gatana.ai/api/v1/users/string" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "name": "string", "role": "member", "isDisabled": true }'{
"user": {
"id": 0,
"sub": "string",
"tenantId": "string",
"name": "string",
"email": "user@example.com",
"role": "member",
"isSuperAdministrator": true,
"isDisabled": true,
"isServiceAccount": true,
"createdAt": "string",
"updatedAt": "string"
}
}