Update signing key for a hook
Update the signing key for the specified hook.
Path parameters
-
The unique identifier of the hook.
PATCH /api/hooks/{id}/signing-key
curl \
-X PATCH https://[tenant_id].logto.app/api/hooks/{id}/signing-key \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"tenantId": "string",
"id": "string",
"name": "string",
"event": "PostRegister",
"events": [
"PostRegister"
],
"config": {
"url": "string",
"headers": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"retries": 42.0
},
"signingKey": "string",
"enabled": true,
"createdAt": 42.0
}