Skip to main content
POST

Authorizations

Authorization
string
header
required

An access token must be provided in the Authorization header using the Bearer scheme.

Headers

X-Pinecone-Api-Version
string
default:2026-04
required

Required date-based version header

Path Parameters

service_account_id
string<uuid>
required

The unique identifier of the service account.

Response

Secret rotated successfully. The new client_secret is in the response body and is returned exactly once.

A service account with a newly issued OAuth client_secret. The secret is returned only once and cannot be retrieved later.

service_account
object
required

A service account. The OAuth client_secret is not included.

Example:
client_secret
string
required

The OAuth client secret. Returned exactly once. Treat this value as a credential — store it securely and never log it.