orgs
Delete a custom repository role
Deletes a custom role from an organization. Once the custom role has been deleted, any user, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see "About custom repository roles."
The authenticated user must be an administrator for the organization to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
delete/orgs/{org}/custom-repository-roles/{role_id}
Path parameters
orgstring required
The organization name. The name is not case sensitive.
role_idinteger required
The unique identifier of the role.
Response
Response