Rotate a Fleet message signing key pair Beta

POST /api/fleet/message_signing_service/rotate_key_pair

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Query parameters

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31
    Hide response attribute Show response attribute object
  • 400 application/json; Elastic-Api-Version=2023-10-31
    Hide response attributes Show response attributes object
  • 500 application/json; Elastic-Api-Version=2023-10-31
    Hide response attributes Show response attributes object
POST /api/fleet/message_signing_service/rotate_key_pair
curl \
 -X POST https://<KIBANA_URL>/api/fleet/message_signing_service/rotate_key_pair \
 -H "kbn-xsrf: true"
Response examples (200)
{
  "message": "string"
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}
Response examples (500)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}