create_access_token
Generate a new access token for Storyblok spaces via the Management API. Define access level, optional name, branch ID, story IDs, and minimum cache time. Retrieve the API response for token creation or error details.
Instructions
Create a new access token in the current Storyblok space via the Management API.
Request Body:
access (str): The access level for the token (e.g., 'draft', 'published').
name (Optional[str]): Optional name for the token.
branch_id (Optional[int]): Optional branch ID to associate with the token.
story_ids (Optional[List[int]]): Optional list of story IDs to restrict access.
min_cache (Optional[int]): Optional minimum cache time in seconds.
Returns:
Any: The API response containing the created access token or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
access | Yes | ||
branch_id | No | ||
min_cache | No | ||
name | No | ||
story_ids | No |