Skip to main content
DELETE
Revoke access
DELETE https://api-datahub.octoparse.com/v1/data-apps/{app_id}/grants/{username} Authentication: API key required (Authorization: Bearer <API Key>). App author only; others get 404. Revocation takes effect immediately: read paths check the grant list on every request. There is no cache window.

Request

Path parameters

string
required
App reference.
string
required
Username of the user to revoke.

Example request

Response

200 success

The payload is wrapped in data. Fields:
boolean
Always true.

Errors

Error responses use {"error": {code, category, message, retryable}}. See Errors.

Client libraries

The Python and JavaScript SDKs do not wrap this endpoint yet. Call REST directly.