provider orgs DELETE /orgs/{org}/issue-fields/{issue_field_id}
@utdk/github /orgs/{org}/issue-fields/{issue_field_id}
Delete issue field for an organization
Deletes an issue field for an organization. You can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization). To use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
org path required
The organization name. The name is not case sensitive.
string
issue_field_id path required
The unique identifier of the issue field.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
orgs.deleteIssueField
DELETE/orgs/{org}/issue-fields/{issue_field_id}
Deletes an issue field for an organization. You can find out more about issue fields in [Managing issue fields in an organization](https://docs.github.com/issues/tracking-your-work-with-issues/using-issues/managing-issue-fields-in-an-organization). To use this endpoint, the authenticated user must be an administrator for the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

Parameters

required

The organization name. The name is not case sensitive.

required

The unique identifier of the issue field.

Configure credentials above to enable sending.

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

TypeScript

import github from '@utdk/github';

await github.orgs.deleteIssueField()