Skip to main content
DELETE
/
task
/
{id}
/
attachment
/
{attachmentId}
Delete
curl --request DELETE \
  --url http://{host}:{port}/{contextPath}/task/{id}/attachment/{attachmentId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "userId": "<string>",
  "missingAuthorizations": [
    {
      "permissionName": "<string>",
      "resourceName": "<string>",
      "resourceId": "<string>"
    }
  ],
  "type": "<string>",
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the task.

attachmentId
string
required

The id of the attachment to be removed.

Response

Request successful.