Skip to main content
POST
https://{tenantDomain}/api/v2
/
keys
/
encryption
/
rekey
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.Encryption.RekeyAsync();
    }

}

Authorizations

Authorization
string
header
required

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

Response

The key hierarchy was successfully rekeyed.