deleteCustomField method
Deletes a custom field. The custom field is deleted whether it is in the trash or not. See Edit or delete a custom field for more information on trashing and deleting custom fields.
This operation is asynchronous. Follow the location
link in
the response to determine the status of the task and use
Get task to obtain subsequent updates.
Permissions required: Administer Jira global permission.
Implementation
Future<TaskProgressBeanObject> deleteCustomField(String id) async {
return TaskProgressBeanObject.fromJson(await _client.send(
'delete',
'rest/api/3/field/{id}',
pathParameters: {
'id': id,
},
));
}