Webhooks
Rotate HMAC key for a Webhook by ID
This API endpoint rotates the HMAC key for an existing Webhook.
post/network-services/v1/webhooks/{id}/rotate-hmac-key
Request
- Base URLhttps://sso.common.cloud.hpe.com
- AuthOAuth 2Client credentialsToken URLhttps://sso.common.cloud.hpe.com/as/token.oauth2
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Unique identifier for the webhook. This can be obtained from the List Webhooks API.
Response
Rotates the webhook HMAC Key
Example response
{
"items": {
"id": "a1234567-89b9-01",
"hmacKey": "2067774a07afcf4bc7815c8ff04aa1a71b4c18a6274bf7c6ddb651227a6af796",
"success": true,
"message": "HMAC key rotated successfully!"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.