Update captcha provider

PUT /api/captcha-provider

Update the captcha provider with the provided settings.

application/json

Body Required

Responses

PUT /api/captcha-provider
curl \
 --request PUT 'https://[tenant_id].logto.app/api/captcha-provider' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"config":{"type":"string","siteKey":"string","secretKey":"string"}}'
Request examples
{
  "config": {
    "type": "string",
    "siteKey": "string",
    "secretKey": "string"
  }
}
Response examples (200)
{
  "tenantId": "string",
  "id": "string",
  "config": {
    "type": "string",
    "siteKey": "string",
    "secretKey": "string"
  },
  "createdAt": 42.0,
  "updatedAt": 42.0
}