Delete cargo

Deletes cargo and its task associations from an active order template. | authz: min_org_role=operator | () -> (OrderTemplateNew1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

order_template_idstringRequired
cargo_keystringRequired

Response

Successful Response
_idstring
created_at_timestampdatetime
last_edited_at_timestampdatetime
namestring1-1024 characters
owned_by_org_idstring

Must be a string starting with org_

owned_by_user_idstring

Must be a string starting with user_

schema_versioninteger
archived_at_timestampdatetime or nullOptional
cargoslist of objectsOptional
coordinator_assigned_user_idslist of stringsOptional
coordinator_department_idstring or nullOptional
coordinator_labelstring or nullOptional
coordinator_org_idstring or nullOptional

Must be a string starting with org_

descriptionstring or nullOptional<=16384 characters
last_used_at_timestampdatetime or nullOptional
off_chrt_reference_idstring or nullOptionalformat: "^[A-Za-z0-9._~\-]{1,64}$"1-64 characters

Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, ’.’, ’_’, ’~’, ’-’ (RFC 3986 unreserved).

off_chrt_shipper_org_data_idstring or nullOptional
service_lineenumOptional
shipper_org_idstring or nullOptional

Must be a string starting with org_

task_groupslist of objectsOptional
task_lists_to_apply_at_order_creationlist of objectsOptional
task_lists_to_apply_at_order_staginglist of objectsOptional

Errors

422
Cargos Delete V1request Unprocessable Entity Error