Skip to main content
DELETE
/
v2
/
jobs
/
{id}
Delete Job
curl --request DELETE \
  --url https://api.tryhamsa.com/v2/jobs/{id} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "job deleted successfully",
  "messageKey": "OPERATION_SUCCESSFUL",
  "data": []
}

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string<uuid>
required

The unique identifier of the job

Example:

"48f7656f-098b-4c43-b165-7cfd2cc8ac30"

Query Parameters

projectId
string<uuid>
required

The unique identifier of the project

Example:

"48f7656f-098b-4c43-b165-7cfd2cc8ac30"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"job deleted successfully"

messageKey
string
Example:

"OPERATION_SUCCESSFUL"

data
array
Example:
[]