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

# Archive (unpublish) a video

> Hides the video from feeds, search, and recommendations while
preserving the asset. Reversible via `/v1/videos/{id}/republish`.

If called while the video is still processing, archive intent is
queued and the video will be created in an archived state.

Requires the `videos:write` scope.




## OpenAPI

````yaml /openapi.yaml post /v1/videos/{id}/archive
openapi: 3.1.0
info:
  title: Eden Developer API
  version: 1.0.0
  description: |
    The Eden Developer API lets brands, leagues, teams, and rights-holding
    organizations distribute video content programmatically on Eden — the
    athlete creator platform.

    This is an invite-only API. Email support@myeden.me to request access.
  contact:
    name: Eden Developer Relations
    email: support@myeden.me
servers:
  - url: https://api.myeden.me
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Videos
    description: Create, read, archive, republish, and delete videos.
paths:
  /v1/videos/{id}/archive:
    parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
    post:
      tags:
        - Videos
      summary: Archive (unpublish) a video
      description: |
        Hides the video from feeds, search, and recommendations while
        preserving the asset. Reversible via `/v1/videos/{id}/republish`.

        If called while the video is still processing, archive intent is
        queued and the video will be created in an archived state.

        Requires the `videos:write` scope.
      operationId: archiveVideo
      responses:
        '200':
          description: Archived
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    StatusResponse:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: |
        Send your API key as a Bearer token:

            Authorization: Bearer eden_live_xxxxxxxxxxxxxxxxxxxxxxxx_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

````