Library Posts State Api Service

Rename and recolor a workflow state.

put/v2/scheduler/library/states/{stateId}

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/scheduler/library/states/{stateId}
  • Auth: none declared

Path parameters

stateIdinteger required

id of the workflow state.

Request body

namestring required

Display name of the state (1-20 characters).

colorstring required

Color of the state in #RRGGBB hex format.

Example request

{
  "name": "In progress",
  "color": "#4A90E2"
}

Response

State updated.

metadataobject

Example response

{
  "data": {
    "id": 123
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.