CRUD
StatusPresets
Perform multiple operations with status-presets
Accepts a list of create/update/patch/delete operations (see the request model for more details).<br/> Each operation can target a single or multiple status-presets.<br/> Returns a list of results for each input operation including errors.<br/> Guarantees that the size and order of the returned results matches the order of input operations.<br/>Requirements:<br/>- auth-client scopes: "team"
post/api/status-presets/bulk
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/status-presets/bulk
- Auth: HTTP bearer
Query parameters
actAsAdminboolean
Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.
Request body
Example request
[
{
"resource": {
"statuses": [
{
"category": "active",
"color": "blue",
"default": true,
"id": "7e5a6ca1-93e2-3b2b-8c07-c911b370ff40",
"name": "In Progress",
"order": 1,
"presetId": "aabe8348-a1b8-371c-be47-4c43039dcc6e",
"workspaceId": "668953d2-25f2-34fd-bd72-1e8cf024a277"
}
]
}
}
]Response
Example response
[
{
"_embedded": {
"statuses": [
{
"category": "active",
"color": "blue",
"default": true,
"id": "7e5a6ca1-93e2-3b2b-8c07-c911b370ff40",
"name": "In Progress",
"order": 1,
"presetId": "aabe8348-a1b8-371c-be47-4c43039dcc6e",
"workspaceId": "668953d2-25f2-34fd-bd72-1e8cf024a277"
}
]
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.