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

# Rollback Skill

> Restore an archived version as the name's live one; the current live
version is archived.



## OpenAPI

````yaml /openapi.json post /v1/skills/{skill_id}/rollback
openapi: 3.1.0
info:
  title: TurnCall
  description: Production voice agent platform API
  version: 2.1.1
servers: []
security: []
paths:
  /v1/skills/{skill_id}/rollback:
    post:
      tags:
        - skills
      summary: Rollback Skill
      description: |-
        Restore an archived version as the name's live one; the current live
        version is archived.
      operationId: rollback_skill_v1_skills__skill_id__rollback_post
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Skill Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rollback Skill V1 Skills  Skill Id  Rollback Post
          headers:
            X-TurnCall-Audit-Id:
              description: >-
                The id of the audit log entry for this request's primary
                resource. Every entry the request wrote (a publish also archives
                versions and re-points numbers) carries it as `request_id`: `GET
                /v1/audit-log?request_id=<this id>` returns them all.
              schema:
                type: string
                format: uuid
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.