Resources User Disable
Disable
Disable user
Http Method
POST
End Point
/~api/users/{userId}/disable
Placeholder Description Example
{userId} User Id 1
Response
Operation Successful
Status Code
200
Response Body
No response body
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> -X POST https://git.codedune.app/~api/users/1/disable
Please wait...
Page is in error, reload to recover