Update a service connector
Updates a service connector
PUT /manage/connectors/{connectorId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
connectorId |
path |
True |
|
Version 4 UUID of the Service Connector |
Request Body
Name | Type | Description |
---|---|---|
name |
|
Arbitrary name of the service connector up to 256 characters |
type |
|
Type of the service connector. 'azure' for Azure Service Principal |
connectorTenantId |
|
Azure tenant id in which the Azure Service Principal will be used |
connectorId |
|
Id of the Azure Service Principal |
connectorSecret |
|
Secret of the Azure Service Principal |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The updated service connector object |
Consumes
-
application/json
Produces
-
application/json
Security
Every request requires a JWT access token for authentication in the Authorisation HTTP header. Please see the API authentication page for details about how to get a JWT token.
Authorization: Bearer {JWT_TOKEN}
Roles
-
Wenenu Owner
-
Wenenu Service Connector Administrator
Sample request
PUT https://wenenu.com/manage/connectors/e17af98a-2bff-4bed-8834-fdd6ff726985 HTTP/1.1
Authorization: Bearer {jwt_token}
Content-type: application/json
Request body
{
"name": "Wenenu service connector",
"type": "azure",
"connectorTenantId": "d2759b9d-cc14-486e-b5bb-da33ed4a1c8d",
"connectorId": "575658c4-ff9c-4f40-9fdc-d70f12cb8a52",
"connectorSecret": "kbaVs4I05GaTvaerUtXF88PGwf6lch8X"
}
Sample Response
Status code: 200
{
"id": "e17af98a-2bff-4bed-8834-fdd6ff726985",
"tenantId": "f06e4c85-2961-40fe-8460-168189fa4203",
"name": "Wenenu service connector",
"type": "azure",
"connectorTenantId": "d2759b9d-cc14-486e-b5bb-da33ed4a1c8d",
"connectorId": "575658c4-ff9c-4f40-9fdc-d70f12cb8a52",
"connectorSecret": ""
}
Definitions
ServiceConnector
Name | Type | Description |
---|---|---|
id |
|
Version 4 UUID of the service connector |
tenantId |
|
Version 4 UUID of the Wenenu tenant of the service connector |
name |
|
Arbitrary name of the service connector up to 256 characters |
type |
|
Type of the service connector |
connectorTenantId |
|
Azure tenant id in which the Azure Service Principal will be used |
connectorId |
|
Id of the Azure Service Principal |
connectorSecret |
|
Secret of the Azure Service Principal. (Always empty when the service connector is returned by Wenenu) |