Delete service job type
Delete a job type. A job type that is in use — carried by a service order or recorded on a checklist event — cannot be deleted; set deprecated on it instead to take it out of use while the service orders that already carry it stay as they are.
Required permissions: SERVICE_CONFIG
delete/tenants/{tenantUid}/serviceorders/jobtypes/{serviceJobTypeUid}
Authorizations
AuthorizationstringRequired
Access token recevied after user login with a deviceToken
Path parameters
tenantUidstringRequiredPattern:
Reference to a tenant.
^[A-Za-z0-9-_]+serviceJobTypeUidstringRequiredPattern:
Reference to a service order job type
^[A-Za-z0-9-_]+Responses
204
No Content
No content
409
Conflict. The job type is in use — carried by a service order or recorded on a checklist event — and cannot be deleted; set deprecated on it instead.
delete/tenants/{tenantUid}/serviceorders/jobtypes/{serviceJobTypeUid}
DELETE /v2/tenants/{tenantUid}/serviceorders/jobtypes/{serviceJobTypeUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

