RoutesMcp serversServerslugCredentialsCopy
/mcp-servers/{serverSlug}/credentials/copy
Copy credentials to another scope
AuthorizationBearer <token>
In: header
Path Parameters
serverSlug*string
Length
1 <= lengthQuery Parameters
id*string
ID of the credentials to copy
to*string
The scope to copy the credentials to
Value in
"server" | "user" | "profile"profileId?string
Target profile ID when copying to profile scope
userId?string
Target user ID when copying to user scope which is not the currently authenticated user
Response Body
application/json
curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/mcp-servers/string/credentials/copy?id=string&to=server"{
"success": true
}