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

Path Parameters

space
string
required

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 a space user

object
object