メインコンテンツへスキップ
DELETE
https://{tenantDomain}/api/v2
/
users
/
{user_id}
/
sessions
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;

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

        await client.Users.Sessions.DeleteAsync(
            "user_id"
        );
    }

}

承認

Authorization
string
header
必須

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

パスパラメータ

user_id
string
必須

ID of the user to get sessions for

レスポンス

Session deletion request accepted.