Publishable Keys
Update publishable key
Update the name, allowed origins, or active status of a publishable key. Pass an empty allowed_origins array to allow all origins.
PATCH
Authorizations
Use api_key from POST /v1/api-keys
Path Parameters
Body
application/json
Response
200 - application/json
OK
Example:
"pk_abc123"
Full publishable key value — only returned on create. Shows key_prefix on subsequent lists.
Example:
"oi_pk_live_abc123def456"
Example:
"oi_pk_live_abc1"
Example:
"Production widget"
Domains allowed to use this key. Requests from other origins return 403.
Example:
[
"https://yoursite.com",
"https://app.yoursite.com"
]