Skip to main content
POST
/
auth
/
permissions
/
remove
Remove Permissions
curl --request POST \
  --url https://api.velt.dev/v2/auth/permissions/remove \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <api-key>' \
  --header 'x-velt-auth-token: <api-key>' \
  --data '{
  "data": {
    "userId": "USER_ID",
    "permissions": {
      "resources": [
        {
          "type": "organization",
          "id": "ORGANIZATION_ID"
        },
        {
          "type": "document",
          "id": "DOCUMENT_ID",
          "organizationId": "ORGANIZATION_ID"
        }
      ]
    }
  }
}'
{
  "result": {
    "status": "success",
    "message": "Operation completed successfully",
    "data": {}
  }
}

Authorizations

x-velt-api-key
string
header
required

Your API key from the Velt Console

x-velt-auth-token
string
header
required

Your Auth Token for authentication

Body

application/json
data
object
required

Response

Permissions removed successfully

result
object