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
Name | Required | Description | Default |
---|---|---|---|
access | No | ||
branch_id | No | ||
min_cache | No | ||
name | No | ||
story_ids | No | ||
token_id | Yes |