Skip to main content
DELETE
/
payroll
/
line
/
{employeeId}
/
{lineId}
/
attachments
/
{attachmentId}
Delete an attachment from a payroll line item
curl --request DELETE \
  --url https://api.sandbox.flowpayroll.ai/v1/payroll/line/{employeeId}/{lineId}/attachments/{attachmentId} \
  --header 'X-Auth-Token: <api-key>'
{
  "message": {
    "text": "<string>",
    "token": "<string>",
    "tokenArguments": [
      {
        "name": "<string>",
        "value": "<string>"
      }
    ]
  },
  "content": {
    "data": {},
    "metadata": {
      "dateFormat": "yyyy-MM-dd",
      "dateTimeFormat": "yyyy-MM-ddTHH:mm:ss.fffZ",
      "paginationToken": "<string>"
    }
  },
  "validationIssues": [
    {
      "field": "<string>",
      "reason": "<string>",
      "reasonToken": "<string>",
      "reasonTokenArguments": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "messageToken": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

Path Parameters

employeeId
string
required

The ID of the employee

lineId
string
required

The ID of the payroll line item

attachmentId
string
required

The ID of the attachment to delete

Response

Attachment deleted successfully

message
object
content
object
validationIssues
object[]
messageToken
string