auth-tokens

POST /api/auth-tokens

Changed on

Request

Headers

Api-Versionstring

The requested API version

Request body

providerCodestring
clientIdstring
provider'GitHub' | 'DeviceFlow'
isMarketingEmailOnboolean

Response

Success

tokenstring required
refreshTokenstring required
expirationstring date-time required

Changes

    • breaking

      removed the enum value GitHubPersonalToken of the request property (media type: application/json-patch+json)

    • breaking

      removed the enum value GitHubPersonalToken of the request property (media type: application/json)

    • breaking

      removed the enum value GitHubPersonalToken of the request property (media type: text/json)

    • breaking

      removed the enum value GitHubPersonalToken of the request property (media type: application/*+json)

    • info

      added the new GitHubPersonalToken enum value to the request property (media type: application/json-patch+json)

    • info

      added the new GitHubPersonalToken enum value to the request property (media type: application/json)

    • info

      added the new GitHubPersonalToken enum value to the request property (media type: text/json)

    • info

      added the new GitHubPersonalToken enum value to the request property (media type: application/*+json)