resource:action format. For example, ledgers:read allows a key to read ledgers, while transactions:write allows it to create transactions.
Instead of giving every service full access, use scopes to create keys that match what each service actually does.
These patterns cover most setups:
How scopes work
Each scope has two parts: a resource and an action, separated by a colon:resource:action.
- Resources
- Actions
The resource defines the area of Blnk the key can access. The action defines what the key can do in that area.
POST /{id}/metadata maps to the metadata resource. A scoped key needs metadata:write to update metadata.Error handling
Structured errors are available from Blnk Core 0.15.0 and later.
403 Forbidden response.
403 Forbidden