If a user is enabled this endpoint will disable them The invoker must have the appropriate permission A user cannot disable themself When a user is disabled any active access tokens will be revoked and the user will not be able to log in
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.sandbox.velopayments.com//v2/users//disable'
Response Response Example
204 - Example 1
{}
Request
Path Params
Responses
🟢204Success the user was disabled or was already disabled
application/json
Body
🟠400Invalid request. See Error message payload for details of failure
🟠401Invalid access token. May be expired or invalid
🟠403The authentication does not have permissions to access the resource
This usually occurs when there is a valid authentication instance (client or user) but they do not have the required permissions
🟠404The resource was not found or is no longer available