Skip to main content
POST
/
organizations
/
access
/
disablestate
/
update
curl --request POST \
--url https://api.velt.dev/v2/organizations/access/disablestate/update \
--header 'Content-Type: application/json' \
--header 'x-velt-api-key: <api-key>' \
--header 'x-velt-auth-token: <api-key>' \
--data '{
"data": {
"organizationIds": [
"org-24-06-2024-1"
],
"disabled": true
}
}'
{
  "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

Disabled state updated successfully

result
object