update_space_role
Modify a space role's configuration, including permissions, allowed paths, and field access, directly through the Storyblok Management API to manage user roles effectively.
Instructions
Updates a space role's configuration via the Storyblok Management API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allowed_languages | No | ||
allowed_paths | No | ||
asset_folder_ids | No | ||
branch_ids | No | ||
component_ids | No | ||
datasource_ids | No | ||
field_permissions | No | ||
permissions | No | ||
readonly_field_permissions | No | ||
role_name | No | ||
space_role_id | Yes | ||
subtitle | No |
Input Schema (JSON Schema)
{
"properties": {
"allowed_languages": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Allowed Languages"
},
"allowed_paths": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Allowed Paths"
},
"asset_folder_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Asset Folder Ids"
},
"branch_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch Ids"
},
"component_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Ids"
},
"datasource_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Datasource Ids"
},
"field_permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Field Permissions"
},
"permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Permissions"
},
"readonly_field_permissions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Readonly Field Permissions"
},
"role_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Role Name"
},
"space_role_id": {
"title": "Space Role Id",
"type": "integer"
},
"subtitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Subtitle"
}
},
"required": [
"space_role_id"
],
"title": "update_space_roleArguments",
"type": "object"
}