StatusPresets

Assign or unassign a status preset for a workspace.

Sets the status preset for the workspace. When switching from one preset to another (or from custom statuses to a preset), replacements must be provided for statuses that have items assigned to them. When unassigning a preset, statuses are duplicated from the preset to the workspace.<br/>Requirements:<br/>- auth-client scopes: "team"

put/api/status-presets/workspace/{workspaceId}

Request

  • Base URL: https://app.airfocus.com
  • URL: https://app.airfocus.com/api/status-presets/workspace/{workspaceId}
  • Auth: HTTP bearer

Path parameters

workspaceIdstring uuid required

Query parameters

actAsAdminboolean

Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.

Request body

replacementsobject required

A map of status replacements, where key is an OLD status-id and value is a NEW status-id. Replacements must be specified for each status being removed when switching presets. This mapping will be used to migrate all items in the workspace to new statuses before deleting the old ones.

statusPresetIdstring uuid

Status preset ID to assign to this workspace. Set to null to unassign the current preset.

Changes

No recorded changes to this operation across all 1 revision of this API.