deleteProperty method
Removes a property from a request type.
Properties for a Request Type in next-gen are stored as Issue Type properties and therefore can also be deleted by calling the Jira Cloud Platform Delete issue type property endpoint.
Permissions required: Jira project administrator with a Jira Service Management agent license.
Implementation
Future<void> deleteProperty(
{required String serviceDeskId,
required int requestTypeId,
required String propertyKey}) async {
await _client.send(
'delete',
'rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/property/{propertyKey}',
pathParameters: {
'serviceDeskId': serviceDeskId,
'requestTypeId': '$requestTypeId',
'propertyKey': propertyKey,
},
);
}