• Generate Token
    • Migration job
    • Migration task
    • Migration task status
    • Artifacts
    Platform
    Migration API / Reference / REST API

    Generate Token

    Postman Collection
    OpenAPI

    Use these APIs to generate tokens needed to authenticate the plugin for cloud migrations.

    POST

    Create auth token

    Use this API to create an auth token. An auth token will be used in the save token API which will connect your cloud site to the on-premises instance. Its validity is 5 minutes.

    Request

    Request bodyapplication/json

    cloudUrl

    string

    Required

    Responses

    OK

    application/json

    CreateAuthTokenResponse
    POST/migrations/public/v1/token
    1 2 3 4 5 6 7 curl --request POST \ --url 'https://api.atlassian.com/migrations/public/v1/token' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "cloudUrl": "https://username.atlassian.net" }'
    200Response
    1 2 3 4 5 { "uri": "<string>", "cloudUrl": "<string>", "token": "<string>" }

    Rate this page: