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-08-13T15:29:11.662Z"
}
text
Get 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-08-13T15:29:11.662Z",
"expiresAt": "2025-08-13T15:29:11.662Z"
}
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: */*
true
Get 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-08-13T15:29:11.662Z",
"expiresAt": "2025-08-13T15:29:11.662Z"
}
]
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"
}
}
true
Revoke 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: */*
true
Was this helpful?