List API key permissions
GET
The permissions (grouped by resource, with sensitive ones marked) and presets a key can be created with. Use it to build a permission picker.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
x-api-key*stringAPI key for authentication
Length
1 <= lengthResponse for status 200
application/json- response
resources*array<>presets*array<>curl -X GET 'https://api.tryaccess.xyz/api/v1/api-keys/catalog' \ -H 'x-api-key: string'{ "resources": [ { "key": "payments", "label": "Payments", "actions": [ { "key": "refund", "permission": "payments:refund", "label": "Issue refunds", "description": "Refund payments back to customers.", "sensitive": true } ] } ], "presets": [ { "key": "read_only", "label": "Read only", "description": "View every non-sensitive resource. Cannot change anything.", "grants": [ "*:read" ], "resolved": [ "customers:read", "payments:read" ] } ]}How is this guide?