Delete service-order secret
Delete a secret from a service order as soon as it is no longer needed, without waiting for the service order to be finished. The encrypted value is removed for good, and a SECRET_DELETED event is written on the service order timeline, carrying the label of the secret that was removed. Every secret still on the service order is deleted anyway in the same transaction as the service order reaching a terminal state. Reopening the service order does not bring deleted secrets back. The secrets are open at the store the service order was taken in at as well as at the store that owns it — with a NOTE on the timeline, the only writes that are, because the counter a unit was handed in at is the one the customer comes back to with a passcode. At any other store of the tenant they are refused with a 403, the list included: a reveal is not a view of the case.
Required permissions: SERVICE_ORDER
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to a service order
^[A-Za-z0-9-_]+Reference to a service order secret
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/stores/{storeUid}/serviceorders/{serviceOrderUid}/secrets/{secretUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Last updated
Was this helpful?

