Skip to content
Docs
Reference

TAG_API_GRANTING_NEEDS_STAFF

Only a person can let API keys grant a tag

Only a person can let API keys grant a tag

HTTP status 403 Forbidden, code TAG_API_GRANTING_NEEDS_STAFF.

What it means#

You tried to add api to a definition's grantableBy with an organisation API key or delegated token. A key that could do that could opt itself in to granting any tag, which is the decision grantableBy keeps with the organisation.

What to do#

Make the change as a staff user holding tags.write. A key may still remove api, and edit everything else.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.