Auth Grants
Add AuthGrant to your profile
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
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-11-08T09:37:53.587Z"
}textGet AuthGrant
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/auth-grant/{id} HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"name": "text",
"description": "text",
"challenge": "text",
"status": "revoked",
"scope": "text",
"createdAt": "2025-11-08T09:37:53.587Z",
"expiresAt": "2025-11-08T09:37:53.587Z"
}Delete AuthGrant
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
DELETE /api/auth-grant/{id} HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueGet My AuthGrants
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
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-11-08T09:37:53.587Z",
"expiresAt": "2025-11-08T09:37:53.587Z"
}
]Update AuthGrant
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
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"
}
}trueRevoke AuthGrant
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error
POST /api/auth-grant/{id}/revoke HTTP/1.1
Host: ..
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
trueLast updated
Was this helpful?