Put
/api/v1/users/{userId}/accountstatus
Security
HTTP
Type bearer
Path parameters
userId
stringRequired
The ID of the user
Body parameters
The new account status for the user
object
accountStatus
string
Responses
200
OK
object
authorization
boolean
data
Array of object
object
accountStatus
string
message
string
name
string
userid
string
error_code
integer
error_message
string
error_status
boolean
Examplefalse
401
Unauthorized
object
error_code
integer
error_message
string
error_status
boolean
403
Forbidden - User creation is still in progress.
object
authorization
boolean
data
Array of string
Example[]
string
error_code
integer | null
error_message
string | null
error_status
boolean
404
Not Found
object
authorization
boolean
data
Array of string
Example[]
string
error_code
integer | null
error_message
string | null
error_status
boolean
500
Internal Server Error
object
authorization
boolean
data
Array of string
Example[]
string
error_code
integer | null
error_message
string | null
error_status
boolean