Skip to content

Revoke a grant

DELETE
/v1/workspaces/{workspaceId}/grants/{grantId}
curl --request DELETE \
--url https://shareout.site/v1/workspaces/example/grants/example \
--header 'Authorization: Bearer <token>'
workspaceId
required
string

Workspace ID or slug.

grantId
required
string

Revoked

Resource not found

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}