Skip to content

Update an Access Token

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/api_keys/:access_token_id

Update an access token with the numeric ID.

  • :space_id required number

    Numeric ID of a space

  • :access_token_id required number

    Numeric ID of an access token

curl "https://mapi.storyblok.com/v1/spaces/606/api_keys/123123" \
-X PUT \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"api_key\":{\"access\":\"private\",\"name\":\"My updated token\"}}"