Prisma Next is in early access.Read the docs
Projects

Transfer project

Transfer the project with the given ID to the new owner's workspace

Transfer the project with the given ID to the new owner's workspace

POST/v1/projects/{id}/transfer
AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

id*string
Match^(proj_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

recipientAccessToken*string

Response Body

application/json

application/json

curl -X POST "https://api.prisma.io/v1/projects/string/transfer" \  -H "Content-Type: application/json" \  -d '{    "recipientAccessToken": "string"  }'
Empty