API Keys
Regenerate an API key
The org is orgId in the path. Regenerates an API key for the specified project. This invalidates the previous key. Use key_number to specify which key to regenerate (0 for both, 1 for primary, 2 for secondary).
post/v1/orgs/{orgId}/projects/{projectId}/api-keys
Request
- Base URLhttps://api.spice.ai
- AuthHTTP bearer
Path parameters
orgIdinteger required
The org id from GET /v1/orgs
projectIdinteger required
The ID of the project
Headers
X-Org-Namestring
When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).
Request body
Response
API key regenerated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.