> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oneofnone.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Revalidate all short URLs



## OpenAPI

````yaml post /v1/short-urls/revalidate
openapi: 3.1.0
info:
  title: One of None API
  version: 1.0.0
  description: >-
    The One of None API manages product collections, registrations, short URLs,
    team operations, and rewards used by storefront integrations including
    Shopify discounts and redemption flows.
servers:
  - url: https://api.oneofnone.io
security:
  - ApiKeyAuth: []
paths:
  /v1/short-urls/revalidate:
    post:
      summary: Revalidate all short URLs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevalidateCollectionBody'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevalidateResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RevalidateCollectionBody:
      type: object
      properties:
        collection_id:
          type: string
          format: uuid
      required:
        - collection_id
      additionalProperties: false
    RevalidateResponse:
      type: object
      properties:
        revalidated:
          type: boolean
      required:
        - revalidated
    GenericErrorResponse:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - message
        - code
      additionalProperties: {}
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````