provider Issue custom field options DELETE /rest/api/3/field/{fieldId}/context/{contextId}/option/{optionId}
@utdk/jira /rest/api/3/field/{fieldId}/context/{contextId}/option/{optionId}
Delete custom field options (context)
Deletes a custom field option. Options with cascading options cannot be deleted without deleting the cascading options first. This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the [Issue custom field options (apps)](#api-group-issue-custom-field-options--apps-) operations.** **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
fieldId path required
The ID of the custom field.
string
contextId path required
The ID of the context from which an option should be deleted.
integer
optionId path required
The ID of the option to delete.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deletecustomfieldoption
DELETE/rest/api/3/field/{fieldId}/context/{contextId}/option/{optionId}
Deletes a custom field option. Options with cascading options cannot be deleted without deleting the cascading options first. This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the [Issue custom field options (apps)](#api-group-issue-custom-field-options--apps-) operations.** **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The ID of the custom field.

required

The ID of the context from which an option should be deleted.

required

The ID of the option to delete.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.deletecustomfieldoption()