apiAccessTokenCreate

Generate an api access token. The apiAccessTokenCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: security:write

mutation apiAccessTokenCreate ($id: ID!) {
  apiAccessTokenCreate (id: $id) {
      accessToken
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
accessToken String  
errors List (String)