Delete unused task priority option (settings.manage)
DELETE
/tasks/priority-options/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://example.com/api/v1/tasks/priority-options/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
Resource identifier (CUID2).
string
Resource identifier (CUID2).
Responses
Section titled “Responses”Deleted option.
Media typeapplication/json
object
data
required
null
Example generated
{ "data": "example"}Validation error. Parse failures include field paths and expectations.
Media typeapplication/json
Validation error with safe field paths and expected values; submitted values are never returned.
object
error
required
object
code
required
Stable machine-readable error code.
string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required
Human-readable error message.
string
status
required
HTTP status code, mirrored in the body.
integer
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Media typeapplication/json
Standard error envelope.
object
error
required
object
code
required
Stable machine-readable error code.
string
message
required
Human-readable error message.
string
status
required
HTTP status code, mirrored in the body.
integer
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Media typeapplication/json
Standard error envelope.
object
error
required
object
code
required
Stable machine-readable error code.
string
message
required
Human-readable error message.
string
status
required
HTTP status code, mirrored in the body.
integer
Example
{ "error": { "code": "UNAUTHORIZED" }}Chelsea is operated by Arepa Labs LLC