DELETE /rest/delegation/1.0/api/<delegationId>

Deletes an existing delegation record.

Request

<jira_url>/rest/delegation/1.0/api/delegation/<delegationId>

The request takes all parameters from the REST URL

Parameters

Parameter

Description

LocationRequired

Value Samples

delegationIdThe ID of the existing delegation record that you want to delete.REST URLYes1

Examples

https://192.168.0.1/rest/delegation/api/1.0/delegation/1

Responses

Success

HTTP 200

Returns the ID of the deleted delegation record.

1

Missing Permission

HTTP 403

When the authenticated user does not have the necessary permissions.

{
    "status": 403,
    "message": "You do not have permission to modify delegations.",
    "timestamp": "2024-12-20 07:44:05 +0000"
}

Not Found

HTTP 404

When one of the supplied parameter values is not found.

{
    "status": 404,
    "message": "Delegation with id \"1\" could not be found.",
    "timestamp": "2024-12-20 08:40:34 +0000"
}



  • No labels