Search Results for

    Show / Hide Table of Contents

    The Identity Hub REST API

    The Identity Hub has a REST API to obtain more information on the authenticated user.

    Authentication

    To call The Identity Hub REST API you need a valid Access Token or App Token.

    For more information on how to obtain an Access Token or App Token see How To: Call The Identity Hub API

    Example

    GET /{tenant}/api/identity/v1 
    Authorization: Bearer puDWcq-4-xLwoG6y0DwZRA
    
    Host: www.theidentityhub.com
    GET /{tenant}/api/identity/v1?access_token=puDWcq-4-xLwoG6y0DwZRA
    

    API Methods

    Method Description More information
    GET {tenant}/api/identity/v1 Returns the current Identity information /api/identity/v1
    GET {tenant}/api/identity/v1/{id} Returns information of the Identity with unique Identity Id {id} /api/identity/v1
    GET {tenant}/api/identity/v1/roles Returns the roles of the current Identity /api/identity/v1/roles
    GET {tenant}/api/identity/v1/{id}/roles Returns the roles of the Identity with unique Identity Id {id} /api/identity/v1/roles
    GET {tenant}/api/identity/v1/accounts Returns the accounts of the current Identity /api/identity/v1/accounts
    GET {tenant}/api/identity/v1/{id}/accounts Returns the account of the Identity with unique Identity Id {id} /api/identity/v1/accounts
    PUT {tenant}/api/identity/v1 Updates the current Identity
    DELETE {tenant}/api/identity/v1 Deletes the current Identity
    DELETE {tenant}/api/identity/v1/{id} Deletes the Identity with unique Identity Id {id}
    In This Article