GET Config/DefaultDn

Gets the default DN (base DN) for all Config objects.

Requirements

  • Permissions:  The caller is not required to have any special permissions
  • 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

None.

Returns

Response description

Name

Description

HTTP 200

For valid requests, this call returns a HTTP 200 message and the following data in the message body:

  • DefaultDN: The number of subordinate objects.
  • Error: Appears only when the operation cannot supply the necessary data. Provides only a description and Result. No other data.
  • Result: The result code that indicates the reason for success or failure. For more information, see Config result codes.

Example: Get the default DN

Request

GET https://tpp.venafi.example/vedsdk/Config/DefaultDn
Authorization:Bearer 4MyGeneratedBearerTknz==

Response

HTTP/1.1 200 OK
{
   "DefaultDN":"\\VED",
   "Result":1
}