Redis

Move To Team

This endpoint moves database under a target team

POST/v2/redis/move-to-team
cURL
curl --request POST \
  --url https://api.upstash.com/v2/redis/move-to-team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "team_id": "<team_id>",
    "database_id": "<database_id>"
  }'
200Response
"OK"

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Body

team_idstringrequired

The ID of the target team

database_idstringrequired

The ID of the database to be moved

Response

200 — Database moved successfully

Loading search…