Skip to main content
POST
https://{tenantDomain}/api/v2
/
keys
/
signing
/
rotate
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.Keys.Signing.RotateAsync();
    }

}
{
  "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----",
  "kid": "21hi274Rp02112mgkUGma"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Signing key rotated successfully.

cert
string
default:-----BEGIN CERTIFICATE----- MIIDDTCCA...YiA0TQhAt8= -----END CERTIFICATE-----
required

Next key certificate

kid
string
default:21hi274Rp02112mgkUGma
required

Next key id