GWS API: How to set Not Ready state with displayName

Hello,

Does anyone know how to set agent status to Not Ready with displayName as parameter only accepts for operationName?

URL: /api/v2/users/{userId}/channels/{channelId}
Parameter: operationName

For example,
{
“operationName”: “NotReady”
}

Try this as the payload:


{
  "operationName": "NotReady",
  "reasons": "<your reason code>"
}

Bad luck. I can use like this but it applies only to voice channels but not to other media.

{
“operationName”: “”
}