Search Results for

    Show / Hide Table of Contents

    Method RevokeApiToken

    RevokeApiToken(String, String)

    Revoke API token.

    Declaration
    void RevokeApiToken(string connectionId, string tokenId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String tokenId

    The token id.

    Examples

    POST https://YourServerName/InfoShare/Json/Authentication/RevokeApiToken

    Example for a revoke api token.

    {
       "connectionId": "6bc655a4-c079-4535-a733-f259e3232a3a",
       "tokenId": "7bc655a4-c079-4535-a733-f259e3232a3b"
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    Back to top Copyright © Kendox