Skip to main content
DELETE
https://{tenantDomain}/api/v2
/
grants
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;

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

        await client.UserGrants.DeleteByUserIdAsync(
            new DeleteUserGrantByUserIdRequestParameters {
                UserId = "user_id"
            }
        );
    }

}

Authorizations

Authorization
string
header
required

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

Query Parameters

user_id
string
required

user_id of the grant to delete.

Response

User grant successfully deleted.