Skip to content

Pin API Version​

PATCH
/api/org/api-version

Pin the organization to an API compatibility date, or send null to fall back to the baseline version.

Authorizations​

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

Type
API Key (header: X-Api-Key)

Request Body​

application/json
JSON
{
  
"data": {
  
  
"type": "organizations",
  
  
"attributes": {
  
  
  
"apiVersion": "string"
  
  
}
  
}
}

Responses​

Pinned API version updated

application/vnd.api+json
JSON
{
  
"data": {
  
  
"type": "organizations",
  
  
"id": "string",
  
  
"attributes": {
  
  
  
"apiVersion": "string"
  
  
}
  
}
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI

AstroAPI Documentation