Sample - Box Platform API
DELETE/device_pinners/{device_pinner_id}

Remove a device pin

Deletes an individual device pin. Use device_pinner_id to identify the pin you want to remove. A 204 response confirms deletion without a response body.

1 parameter
device_pinner_idstringrequired
The unique identifier of the device pin to remove.

2 status codes
204Returns an empty response when the device pin has been deleted.
defaultReturned when an unexpected client error occurs, with a generic error object containing the error type, status, code, message, and request identifier.
typestringoptional
The value will always be `error`.
Allowed:error
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
Allowed:createdacceptedno_contentredirectnot_modifiedbad_requestunauthorizedforbiddennot_foundmethod_not_allowedconflictprecondition_failed
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context about the error. The possible fields are defined on a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used when contacting Box support.

Error handling

device_pinner_id must identify the device pin you want to remove. An unexpected client error is returned when the request cannot be processed.