Was this helpful?
Delete AuthGrant
DELETE /api/auth-grant/{id} HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful response
true
Revoke AuthGrant
POST /api/auth-grant/{id}/revoke HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Get AuthGrant
GET /api/auth-grant/{id} HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
No content
Add AuthGrant to your profile
POST /api/auth-grant/create HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 90 { "name": "text", "description": "text", "scope": "text", "expiresAt": "2025-05-24T12:22:05.126Z" }
text
Get My AuthGrants
POST /api/profile/auth-grants HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 102 { "limit": 1, "cursor": "text", "query": { "id": "text", "name": "text", "description": "text", "status": "active" } }
[ { "id": "text", "name": "text", "description": "text", "challenge": "text", "status": "revoked", "scope": "text", "createdAt": "2025-05-24T12:22:05.126Z", "expiresAt": "2025-05-24T12:22:05.126Z" } ]
Update AuthGrant
POST /api/auth-grant/update/{id} HTTP/1.1 Host: .. Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 48 { "updates": { "name": "text", "description": "text" } }