Install the connector
If you have the connector ID, you can install the connector into an account. To install the connector, call the /v1.0/connectors/{id}/install
endpoint. For more information about the endpoint, see the Interactive API reference page.
Request
POST https://{CyclrAPIDomain}/v1.0/connectors/{ConnectorId}/install HTTP/1.1
Authorization: Bearer {access_token}
X-Cyclr-Account: {AccountID}
{
"Name": "{ConnectorName}",
"Description": "{ConnectorDescription}",
"AuthenticationId": "{AuthenticationId}",
"AuthValue": "{AuthValue}",
"Properties": [
{
"Name": "{PropertyName}",
"Value": "{PropertyValue}",
"Id": {PropertyId},
}
]
}
Request parameters
Path parameter | Type | Description |
---|---|---|
| integer | Enter the ID of the connector you want to install. |
Body parameters |
| Type | Description |
---|---|---|---|
|
| string | Name the account connector |
|
| string, optional | Describe the account connector. |
|
| string | Enter the ID of the authentication method you want to use. See Get connectors for more information. |
|
| string, optional | Basic Authentication: enter the base64 encoded value of the username and password. |
|
| Array, optional | If |
|
| string | Enter the |
|
| array[string] | Enter a value from the options in |
|
| integer | Enter the |
Example response
{
"Id": 54321,
"Name": "Installed Example",
"Description": "Alex's Example account connector",
"AuthValue": "access_token",
"Authenticated": true,
"Connector": {
"Id": 12345,
"Name": "Example",
"Description": "Connect securely with your Example application",
"Status": "Approved",
"Version": "null",
"Icon": "Base64 image data for the connector icon",
"AuthDescription": "null",
"AuthType": "ApiKey", <this says deprecated in swagger, should it be null?>
"OAuth2Type": "AuthorisationCode",<can we correct the spelling here?>
"AuthScheme": "Authorization",
"Parameters": [...],
...
,
}
}
Authentication
Authentication is optional in this call because, if your customer has access to the account, they can authenticate the connector themselves.
For more information on how to authenticate a specific application connector, see the Application connector guides documentation.
If the connector uses OAuth authentication, see the page on how to Authenticate OAuth connectors (API) to send the customer an authentication link.