Skip to content

Delete a job

Request

Security
form_session or user_session or component_session or component_token or api_token
Path
job_idstring(JobId)^job_required

Job Identifier

curl -i -X DELETE \
  'https://docs.onboarded.com/_mock/openapi/api/v1/jobs/{job_id}' \
  -H 'Authorization: Bearer <YOUR_Onboarded form session token_HERE>'

Responses

A job with standard fields plus any system-defined custom attributes as top-level properties. System attributes are organization-specific fields (ScalarValue: string, number, boolean, or null) that extend the base job schema.

Bodyapplication/json
idstring(JobId)^job_required

Job Identifier

namestringrequired
addressAddress (object) or null
Any of:

An address resource

custom_attributesobject(CustomAttributes)required

Record of custom attribute values keyed by string path.

created_atstring(DateTimeUtc)required

a string to be decoded into a DateTime.Utc

updated_atstring(DateTimeUtc)required

a string to be decoded into a DateTime.Utc

property name*any(ScalarValueUnknown)additional property

Unknown value that should be a JSON scalar (string, number, boolean, or null) but is not runtime-validated. Use ScalarValue for validation at serialization boundaries.

Response
{ "id": "job_abc123def456", "name": "string", "address": { "street": "123 Main St", "secondary": "Suite 100", "city": "San Francisco", "state": "CA", "zip": "94102", "country": "US", "full_address": "123 Main St, San Francisco, CA 94102" }, "custom_attributes": { "property1": null, "property2": null }, "created_at": "string", "updated_at": "string", "property1": null, "property2": null }