In this article
Unlink Org from Device
This endpoint will unlink an organization from a device
You must be an admin in order to unlink a user from a device.
URL
https://{{HOST}}/security/device/org?v={version}&deviceId={deviceId}&orgId={organizationId}
Method
DELETE
Required IMS Scopes
- securityapi_all
Versions Supported
- 2.0 (Default)
URL Query Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| v optional |
Version of the api to use | /device?v=2.0 | number |
| deviceId required |
The ID of the device. | /device/org?deviceId=testDevice | string |
| orgId required |
The ID of the org. | /device/org?orgId=testorganization | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authorization required |
Bearer {access_token} | IMS access token |
Example
Request
curl -X DELETE
'https://{{HOST}}/securityapi/device/org?v=2.0&deviceId=testDevie&orgId=testOrganization'
-H 'Authorization: Bearer {access_token}'
Response
JSON Response
Errors
| Error | Description |
|---|---|
| Error Name | Description of Error |
Response Body Parameters
| Name | Description | Schema |
|---|---|---|
| Object Name | Description | object definition |