RoutesUsers
/users
AuthorizationBearer <token>
In: header
Request Body
application/json
email*string
name*string
role*string
Value in
"member" | "owner"isServiceAccount*boolean
Response Body
application/json
curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/users" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "name": "string", "role": "member", "isServiceAccount": 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"
}
}