add_collaborator
Add a collaborator to a Storyblok space by specifying email and optional role, space role ID, or permissions. Simplify team management and access control.
Instructions
Adds a collaborator to a space in Storyblok.
Use either `role` (string) OR `space_role_id` (int) OR `space_role_ids` (list[int]).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allow_multiple_roles_creation | No | ||
Yes | |||
permissions | No | ||
role | No | ||
space_role_id | No | ||
space_role_ids | No |
Input Schema (JSON Schema)
{
"properties": {
"allow_multiple_roles_creation": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Allow Multiple Roles Creation"
},
"email": {
"title": "Email",
"type": "string"
},
"permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Permissions"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Role"
},
"space_role_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Space Role Id"
},
"space_role_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Space Role Ids"
}
},
"required": [
"email"
],
"title": "add_collaboratorArguments",
"type": "object"
}