Use these APIs to generate tokens needed to authenticate the plugin for cloud migrations.
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.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredOK
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"
}'
1
2
3
4
5
{
"uri": "<string>",
"cloudUrl": "<string>",
"token": "<string>"
}
Rate this page: