Transfers ownership of the tuned model. This is the only way to change ownership of the tuned model. The current owner will be downgraded to writer role.
HTTP request
POST https://generativelanguage.googleapis.com/v1beta/{name=tunedModels/*}:transferOwnership
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the tuned model to transfer ownership. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "emailAddress": string } |
Fields | |
---|---|
emailAddress |
Required. The email address of the user to whom the tuned model is being transferred to. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/generative-language
https://www.googleapis.com/auth/generative-language.tuning
https://www.googleapis.com/auth/generative-language.tuning.readonly
https://www.googleapis.com/auth/generative-language.retriever
https://www.googleapis.com/auth/generative-language.retriever.readonly
For more information, see the Authentication Overview.