Skip to content
Start in Cloud

Transfer site to another team

POST
/api/sites/{id}/transfer-team
curl --request POST \
--url https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/transfer-team \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Moves a site into another team the caller can administer and migrates analytics data to the destination tenant store.

id
required
string format: uuid
Media type application/json
object
team_id
required
string format: uuid
Example generated
{
"team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Site transferred

Media type application/json
object
destination_team_id
string format: uuid
site_id
string format: uuid
source_team_id
string format: uuid
status
string
Example generated
{
"destination_team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"site_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"source_team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"status": "example"
}

Access denied

Media type application/json
object
message
string
Example generated
{
"message": "example"
}