curl --request PUT \
--url http://localhost:8080/api/v1/oidc/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"enabled": true,
"client_id": "<string>",
"client_secret": "<string>",
"provider": "google",
"provider_url": "<string>"
}'
{
"success": true,
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"enabled": true,
"client_id": "<string>",
"client_secret": "<string>",
"provider": "<string>",
"provider_url": "<string>",
"redirect_uri": "<string>",
"logo_url": "<string>"
}
}
curl --request PUT \
--url http://localhost:8080/api/v1/oidc/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"enabled": true,
"client_id": "<string>",
"client_secret": "<string>",
"provider": "google",
"provider_url": "<string>"
}'
{
"success": true,
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"enabled": true,
"client_id": "<string>",
"client_secret": "<string>",
"provider": "<string>",
"provider_url": "<string>",
"redirect_uri": "<string>",
"logo_url": "<string>"
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
OIDC provider ID
OIDC provider update
The body is of type object
.
OIDC provider updated successfully
The response is of type object
.
Was this page helpful?