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

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

Created user from the current space

object
object