Storages

Rotate the stored credentials of a Google Cloud Storage configuration

The bucket is preserved; only the service-account key (+ optional expiry) moves. Delegated-OAuth configs answer 422 — see the provider link flow. **Required scope:** `storage:configure` (+ `storage_configs:share` for workspace-shared configs)

PUT
/v1/storages/configs/{config_id}/credentials/gcs

Authorization

BearerAuth
AuthorizationBearer <token>

Security scheme for OpenAPI endpoints. Validates both JWT tokens and API keys.

In: header

Path Parameters

config_id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Rotate the stored credential of a GCS config (ED-549). The bucket is preserved from the existing configuration. See [RotateS3CredentialsRequest] for what rotation deliberately cannot do.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/storages/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials/gcs" \  -H "Content-Type: application/json" \  -d '{    "serviceAccountKey": "string"  }'
{  "configId": "46ff6d11-d8b2-40d8-9197-dfa33c61cd6c",  "configName": "string",  "message": "string"}
Empty
Empty
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}
{  "code": "string",  "message": "string",  "request_id": "string",  "details": [    {      "field": "string",      "message": "string"    }  ]}