Skip to main content
PUT
/
current_space
/
users
/
{email}
{
  "object": {
    "email": "jsmith@example.com",
    "roles": [
      "<string>"
    ]
  }
}
{
"status": "<string>",
"context": {},
"type": "<string>",
"title": "<string>",
"detail": "<string>",
"violations": [
{
"title": "<string>",
"propertyPath": "<string>",
"type": "<string>"
}
]
}

Path Parameters

email
string
required

User identifier

Query Parameters

space
string

Space Identifier

Body

application/json
email
string<email>
required
roles
enum<string>[]
required
Minimum array length: 1
Available options:
ROLE_EDITOR,
ROLE_USER,
ROLE_ADMINISTRATOR

Response

Updated user from the current space

object
object