Toggle persona

POST /api/service/personas/{id}/action

Enable a persona or switch it off.

Path parameters

  • id string Required

    Unique identifier of the persona to toggle on or off.

Body Required

Object defining the action to be performed on the persona

  • action string

    Use enable to turn to object on, and disable to turn the object off. Note that if no action is specified, this will have the default behavior of sending an action of enable.

    Values are enable or disable. Default value is enable.


  • 200 string

    Persona was successfully toggled on or off.

    Note that when successful this returns a null body.

POST /api/service/personas/{id}/action
curl \
 -X POST \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"action":"disable"}'
Request example
  "action": "disable"
Response example (200)