Replace the federation issuer's signing key at once
POST
/api/platform/federation/rotate
const url = 'https://forge.example.com/api/platform/federation/rotate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/federation/rotate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "example" }'For a key feared lost: every key of the issuer stops signing and leaves its key set now, and a new one signs from now. The clouds read the new key from the key set by its kid; a token they exchanged already lasts until it ends. With a reason, which the audit keeps with the new key’s id. Refused while the instance has no issuer.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
Example generated
{ "reason": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
kid
required
string
signsFrom
required
string format: date-time
Example generated
{ "kid": "example", "signsFrom": "2026-04-15T12:00:00Z"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}