Changed2
[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Deny Device Authorization

Description

A device’s request for access on behalf of a service account, as identified by the specified user code, is denied

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/deviceLookup/deny
Copy

Request Body

Request Body

DeviceInfo of type(s) application/json Required
{
	"userCode": "string"
}
string
userCode Optional

User code associated with device authorization requests.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

Device has been denied authorization to access the system

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"userCode":"string"}' https://{api_host}/cloudapi/1.0.0/deviceLookup/deny


[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
What's changed in v37.0?
INTRODUCED
New in this version
Availability
Added in 37.0
Device Authorization Operations
Feedback

Was this page helpful?