Skip to content

Delete a Directory Record
Deprecated

Request

⚠️ Deprecation Notice: The following endpoint is deprecated.

Deletes a specific Directory Record.

Permanently removes the identified Directory Record from the enterprise; returns a 204 with no content on success.

About Directory Records

A Directory Record tracks a device through the registration/approval process ahead of or during enrollment. Deleting one removes that pending or historical registration entry — it does not, by itself, delete an already-enrolled device.

Security
esper_cloud_api_apiKey
Path
enterprise_idstring, (uuid)required

Enterprise ID

directory_record_idstring, (uuid)required

Directory record ID

cURL
curl -i -X DELETE \
  'https://api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/directory_record/{directory_record_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Deleted Directory Record

Response
No content