Update an ExternalProvider¶
PUT /api/v1/externalprovider/{namespace}/{name}
Authorization¶
Parameters¶
| Name | In | Type | Required | Description |
|---|---|---|---|---|
namespace | path | string | Yes | |
name | path | string | Yes |
Request body¶
Required.
Content type: application/json
Schema: UpdateExternalProviderRequest
Example:
{
"displayName": "string",
"description": "string",
"endpointUrl": "string",
"authMechanism": "apikey",
"credentialSecretRef": "string",
"provider": "string",
"config": {
"key": "string"
}
}
Responses¶
| Status | Description | Response body |
|---|---|---|
200 OK | ExternalProvider updated | None |
Example request¶
curl -X PUT "/maas/api/v1/externalprovider/{namespace}/{name}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"displayName": "string",
"description": "string",
"endpointUrl": "string",
"authMechanism": "apikey",
"credentialSecretRef": "string",
"provider": "string",
"config": {
"key": "string"
}
}'