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

# Update certification type in organization



## OpenAPI

````yaml /openapi.json patch /v1/organizations/{organization_id}/certification-types/{certification_type_id}
openapi: 3.0.3
info:
  title: COSMIC Public API
  version: 0.1.0
  description: >-
    Telecom safety operations API for organizations, members, certifications,
    job roles, and qualifications.


    **Public preview:** this API layer is in public preview. Endpoint structure
    is expected to be mostly stable, but response fields, edge cases, and
    reliability are still subject to change.


    **Discovery:** use `GET /v1/organizations` and `GET
    /v1/organizations/{organization_id}/organization-members` to list orgs and
    members.


    **List / sync:** use `limit`, `cursor`, and `updated_after` (exclusive:
    records with `updated_at` strictly after the given timestamp). List ordering
    is resource-specific and deterministic.


    **Writes:** create endpoints for sync-oriented resources accept
    `Idempotency-Key` and may use `external_id` / `external_source` on
    certifications (and optionally members).
servers:
  - url: https://api.natecosmic.com
security: []
tags:
  - name: Me
    description: Token identity and granted API scopes
  - name: Certifications
    description: User-scoped certification records (token subject)
  - name: Organizations
    description: Tenants and org-scoped resources
  - name: Definitions
    description: Global read discovery for types, roles, qualifications
paths:
  /v1/organizations/{organization_id}/certification-types/{certification_type_id}:
    patch:
      tags:
        - Organizations
      summary: Update certification type in organization
      parameters:
        - $ref: '#/components/parameters/OrganizationId'
        - $ref: '#/components/parameters/CertificationTypeId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CertificationTypePatch'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/CertificationType'
        '401':
          description: Missing or invalid bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: >-
            Forbidden: missing required scope on the token, cannot access the
            resource or organization, or the integration requires re-approval
            after scope changes in the developer portal
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
        - bearerAuth: []
components:
  parameters:
    OrganizationId:
      name: organization_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Organization identifier
    CertificationTypeId:
      name: certification_type_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Certification type (catalog) identifier
  schemas:
    CertificationTypePatch:
      type: object
      properties:
        slug:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - active
            - archived
    CertificationType:
      type: object
      properties:
        id:
          type: string
          format: uuid
        slug:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        scope:
          type: string
          enum:
            - standard
            - organization
        status:
          type: string
          enum:
            - active
            - archived
        organization_id:
          type: string
          format: uuid
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ErrorBody:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
            details:
              type: object
              additionalProperties: true
            request_id:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'JWT access token. Send `Authorization: Bearer <token>`.'

````