Invite a user or a team to a space
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
or
Responses
204
OK
No content
404
No team or user with the provided Id
application/json
post/spaces/{spaceId}/permissions
POST /v1/spaces/{spaceId}/permissions HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"role": "admin",
"teams": [
"text"
]
}No content
Last updated
Was this helpful?