Disable Local Account
Disable local account
Request
URI
DELETE
https://{api_host}/v1/users/local/admin
COPY
Responses
204
No content
Operation doesn't return any data structure
401
Unauthorized Request
Returns ErrorResponse of type(s) application/json
{
"errorCode": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"cause": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"ErrorResponse Object"
],
"referenceToken": "string"
}
string
errorCode
Optional
errorCode
array of string
arguments
Optional
arguments
object
context
Optional
context
string
message
Optional
message
string
remediationMessage
Optional
remediationMessage
array of object
cause
Optional
Describes a single error cause
string
referenceToken
Optional
referenceToken
500
Internal Server Error
Returns ErrorResponse of type(s) application/json
"ErrorResponse Object"
string
errorCode
Optional
errorCode
array of string
arguments
Optional
arguments
object
context
Optional
context
string
message
Optional
message
string
remediationMessage
Optional
remediationMessage
array of object
cause
Optional
Describes a single error cause
string
referenceToken
Optional
referenceToken
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/v1/users/local/admin