Skip to main content
Glama

Storyblok MCP Server

update_access_token

Modify an existing access token in a Storyblok space by updating its access level, name, branch ID, story restrictions, or cache settings using the Management API.

Instructions

    Update an existing access token in the current Storyblok space via the Management API.
    
    Params:
        token_id (int): The ID of the access token to update.
    
    Request Body:
        access (Optional[str]): New access level for the token.
        name (Optional[str]): New name for the token.
        branch_id (Optional[int]): New branch ID to associate with the token.
        story_ids (Optional[List[int]]): New list of story IDs to restrict access.
        min_cache (Optional[int]): New minimum cache time in seconds.
    
    Returns:
        Any: A success message or an error message.
    

Input Schema

NameRequiredDescriptionDefault
accessNo
branch_idNo
min_cacheNo
nameNo
story_idsNo
token_idYes

Input Schema (JSON Schema)

{ "properties": { "access": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Access" }, "branch_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Branch Id" }, "min_cache": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Min Cache" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "story_ids": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Story Ids" }, "token_id": { "title": "Token Id", "type": "integer" } }, "required": [ "token_id" ], "title": "update_access_tokenArguments", "type": "object" }

Other Tools from Storyblok MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kiran1689/storyblok-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server