Operator User Set Bastion State
Advance the operatorUser bastion state machine for the specified operatorUser (by id
).
Privileges required:
UPDATE
OPERATOR_USER
Request
URI
POST
https://{api_host}/portal/rest/operatorUser/setOperatorUserBastionState
COPY
Request Body
{
"operatorUserId": 0,
"bastionState": "string"
}
integer
operatorUserId
Required
operatorUserId
string
bastionState
Required
bastionState
Possible values are :
STAGE_REQUESTED,
UNSTAGE_REQUESTED,
Responses
200
Request was successfully processed
Returns
operator_user_set_operator_user_bastion_state_result
of type(s)
application/json
This response body class contains all of the following:
Inlineoperator_user_set_operator_user_bastion_state_result0
{
"rows": 1
}
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"operatorUserId:"integer","bastionState:"string"}' https://{api_host}/portal/rest/operatorUser/setOperatorUserBastionState
Operator User Operations
POST
Operator User Set Bastion State