Returns the created Directory Record intance
Security
apiKey
- Mock serverhttps://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/directory_record/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v1/enterprise/{enterprise_id}/directory_record/
curl -i -X POST \
'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/directory_record/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"unique_identifiers": [
{
"unique_id": "string",
"type": 0
}
],
"group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
"alias": "string",
"tags": [
"string"
]
}'Created
Response
{ "id": "string", "name": "string", "online_status": "ONLINE", "alias": "string", "tags": [ "string" ], "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940", "approval_status": "WAITING_FOR_APPROVAL", "provisioned_on": "2019-08-24T14:15:22Z", "unique_identifiers": [ { … } ] }