Backend API
List active and historical grants for an OAuth client
cURL
curl --request GET \ --url https://api.wacht.dev/deployments/{deployment_id}/oauth/apps/{oauth_app_slug}/clients/{oauth_client_id}/grants \ --header 'Authorization: <api-key>'
{ "grants": [ { "id": "<string>", "api_auth_app_slug": "<string>", "oauth_client_id": "<string>", "resource": "<string>", "scopes": [ "<string>" ], "status": "<string>", "granted_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "revoked_at": "2023-11-07T05:31:56Z", "granted_by_user_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
API key authentication (format: Bearer {api_key})
Deployment ID
OAuth app slug
OAuth client ID
OAuth grants
Show child attributes
Was this page helpful?