[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Add Auth Source
DescriptionIf the authentication source is of type LDAP or AD and if ssl is enabled, the response object will contain a list of certificates found matching with the provided host.If the authentication source is not of type LDAP or AD (or) if ssl is not enabled, then the authentication source is available for use as soon as the api call is successful.It is the duty of the caller to call the PATCH (/sources) api with the certificate details. Once the PATCH api call is successful, the authentication source is available for use.
Request
URLURL
https://localhost/suite-api/api/auth/sources
Request Body
Request Body
auth-source
of type(s) application/json, application/xml
Required
Contains authSource’s type and its properties
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
AuthSource
of type(s) application/json, application/xml
The Auth source is not created in the system and ssl certificate details are returned as response. The caller has to call the PATCH (/auth/sources) API with the certificate details.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"certificates":[{"certificateDetails":"string","expires":"string","issuedBy":"string","issuedTo":"string","thumbprint":"string"}],"created":0,"id":"string","lastModified":0,"links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","property":[{"name":"string","value":"string"}],"sourceType":{"description":"string","id":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","properties":{"property":[{"dataType":"STRING","description":"string","modifiable":false,"name":"string","required":false}]}}}' https://localhost/suite-api/api/auth/sources
[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Auth Operations
post
post
post
put
post
post
post
delete
delete
delete
delete
delete
delete
get
get
get
get
get
get
get
get
get
post
put
patch
post
delete
post
put