Total Access Docs
Openapi

Review an app (approve, reject, suspend, reactivate)

POST
/api/v1/oauth/admin/review

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for REST API endpoints (user-facing apps).

Authorization: Bearer <jwt_access_token>

Tokens expire after 15 minutes. Use the refresh token to obtain a new one.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/oauth/admin/review" \  -H "Content-Type: application/json" \  -d '{    "app_id": "string",    "action": "approve"  }'
Empty
{  "success": false,  "error": {    "code": "SCOPE_REQUIRED",    "message": "API key lacks work_items:read scope",    "request_id": "req_abc123",    "documentation_url": "https://dev-developer.totalaccess.co.za/docs/api-reference/errors#scope_required"  }}