POST Config/DnToGuid
Retrieves details about a Config object.
Requirements
- Permissions: The caller must have View permission to the requested object.
- Token scope: Any valid scope, such as Agent, Certificate, or SSH
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Name |
Description |
---|---|
ObjectDN |
The Distinguished Name (DN) of the object. |
Returns
Name |
Description |
---|---|
HTTP 200 |
For valid requests, this call returns a HTTP 200 message and the following data in the message body:
|
HTTP 400 |
For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:
|
Example: Find information about a DN
POST https://tpp.venafi.example/vedsdk/Config/DnToGuid Authorization:Bearer 4MyGeneratedBearerTknz== { "ObjectDN":"\\VED\\Policy\\Top\\Device 2\\Basic 2" }
Response
HTTP/1.1 200 OK { "ClassName":"Apache", "GUID":"{be3c5bdb-17de-4d4d-91e1-f4d519bb5e0a}", "Revision":634495893681959836, "Result":1 }