Cloudsmith orgs API

The orgs API from Cloudsmith — 40 operation(s) for orgs.

Operations 73

GET /orgs/ Get a list of all the organizations you are associated with. #
GET /orgs/{org}/ Get the details for the specific organization. #
DELETE /orgs/{org}/ Delete the specified organization. #
GET /orgs/{org}/deny-policy/ Get a list of all package deny policies. #
POST /orgs/{org}/deny-policy/ Create a package deny policy. #
GET /orgs/{org}/deny-policy/{slug_perm}/ Get a package deny policy. #
PUT /orgs/{org}/deny-policy/{slug_perm}/ Update a package deny policy. #
PATCH /orgs/{org}/deny-policy/{slug_perm}/ Partially update a package deny policy. #
DELETE /orgs/{org}/deny-policy/{slug_perm}/ Delete a package deny policy. #
GET /orgs/{org}/invites/ Get a list of all invites for an organization. #
POST /orgs/{org}/invites/ Create an organization invite for a specific user #
PATCH /orgs/{org}/invites/{slug_perm}/ Update a specific organization invite. #
DELETE /orgs/{org}/invites/{slug_perm}/ Delete a specific organization invite #
POST /orgs/{org}/invites/{slug_perm}/extend/ Extend an organization invite. #
POST /orgs/{org}/invites/{slug_perm}/resend/ Resend an organization invite. #
GET /orgs/{org}/license-policy-violation/ List all current license policy violations for this Organization. #
GET /orgs/{org}/license-policy/ Get a list of all package license policies. #
POST /orgs/{org}/license-policy/ Create a package license policy. #
GET /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/ List evaluation requests for this policy. #
POST /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/ Create an evaluation request for this policy. #
GET /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/{slug_perm}/ Retrieve an evaluation request for this policy. #
GET /orgs/{org}/license-policy/{slug_perm}/ Get a package license policy. #
PUT /orgs/{org}/license-policy/{slug_perm}/ Update a package license policy. #
PATCH /orgs/{org}/license-policy/{slug_perm}/ Partially update a package license policy. #
DELETE /orgs/{org}/license-policy/{slug_perm}/ Delete a package license policy. #
GET /orgs/{org}/members/ Get the details for all organization members. #
GET /orgs/{org}/members/{member}/ Get the details for a specific organization member. #
PATCH /orgs/{org}/members/{member}/ Views for working with organization members. #
DELETE /orgs/{org}/members/{member}/ Removes a member from the organization. #
POST /orgs/{org}/members/{member}/refresh/ Refresh a member of the organization's API key. #
GET /orgs/{org}/members/{member}/remove/ Removes a member from the organization (deprecated, use DELETE instead). #
PATCH /orgs/{org}/members/{member}/update-role/ Update a member's role in the organization. #
PATCH /orgs/{org}/members/{member}/update-visibility/ Update a member's visibility in the organization. #
GET /orgs/{org}/openid-connect/ Retrieve the list of OpenID Connect provider settings for the org. #
POST /orgs/{org}/openid-connect/ Create the OpenID Connect provider settings for the org. #
GET /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/ Retrieve the list of OpenID Connect dynamic mappings for the provider setting. #
GET /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/ Retrieve a specific OpenID Connect dynamic mapping for the provider setting. #
GET /orgs/{org}/openid-connect/{slug_perm}/ Retrieve a specific OpenID Connect provider setting for the org. #
PUT /orgs/{org}/openid-connect/{slug_perm}/ Update a specific OpenID Connect provider setting for the org. #
PATCH /orgs/{org}/openid-connect/{slug_perm}/ Update a specific OpenID Connect provider setting for the org. #
DELETE /orgs/{org}/openid-connect/{slug_perm}/ Delete a specific OpenID Connect provider setting for the org. #
GET /orgs/{org}/saml-authentication Retrieve the SAML Authentication settings for this Organization. #
PATCH /orgs/{org}/saml-authentication Update the SAML Authentication settings for this Organization. #
GET /orgs/{org}/saml-group-sync/ Get the details of all SAML Group Sync mapping within an organization. #
POST /orgs/{org}/saml-group-sync/ Create a new SAML Group Sync mapping within an organization. #
POST /orgs/{org}/saml-group-sync/disable/ Disable SAML Group Sync for this organization. #
POST /orgs/{org}/saml-group-sync/enable/ Enable SAML Group Sync for this organization. #
GET /orgs/{org}/saml-group-sync/status/ Retrieve the SAML Group Sync status for this organization. #
DELETE /orgs/{org}/saml-group-sync/{slug_perm}/ Delete a SAML Group Sync mapping from an organization. #
GET /orgs/{org}/services/ Get a list of all services within an organization. #
POST /orgs/{org}/services/ Create a service within an organization. #
GET /orgs/{org}/services/{service}/ Retrieve details of a single service within an organization. #
PATCH /orgs/{org}/services/{service}/ Update a service within an organization. #
DELETE /orgs/{org}/services/{service}/ Delete a specific service #
POST /orgs/{org}/services/{service}/refresh/ Refresh service API token. #
GET /orgs/{org}/teams/ Get the details of all teams within an organization. #
POST /orgs/{org}/teams/ Create a team for this organization. #
GET /orgs/{org}/teams/{team}/ Get the details of a specific team within an organization. #
PATCH /orgs/{org}/teams/{team}/ Update a specific team in a organization. #
DELETE /orgs/{org}/teams/{team}/ Delete a specific team in a organization. #
GET /orgs/{org}/teams/{team}/members List all members for the team. #
POST /orgs/{org}/teams/{team}/members Add users to a team. #
PUT /orgs/{org}/teams/{team}/members Replace all team members. #
GET /orgs/{org}/vulnerability-policy-violation/ List all current vulnerability policy violations for this Organization. #
GET /orgs/{org}/vulnerability-policy/ Get a list of all package vulnerability policies. #
POST /orgs/{org}/vulnerability-policy/ Create a package vulnerability policy. #
GET /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ List evaluation requests for this policy. #
POST /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/ Create an evaluation request for this policy. #
GET /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/{slug_perm}/ Retrieve an evaluation request for this policy. #
GET /orgs/{org}/vulnerability-policy/{slug_perm}/ Get a package vulnerability policy. #
PUT /orgs/{org}/vulnerability-policy/{slug_perm}/ Update a package vulnerability policy. #
PATCH /orgs/{org}/vulnerability-policy/{slug_perm}/ Partially update a package vulnerability policy. #
DELETE /orgs/{org}/vulnerability-policy/{slug_perm}/ Delete a package vulnerability policy. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudsmith-orgs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudsmith-orgs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudsmith API (v1) audit-log Orgs API
  description: The API to the Cloudsmith Service
  termsOfService: https://help.cloudsmith.io
  contact:
    name: Cloudsmith Support
    url: https://help.cloudsmith.io
    email: support@cloudsmith.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: v1
servers:
- url: https://api.cloudsmith.io/
security:
- apikey: []
- basic: []
tags:
- name: orgs
paths:
  /orgs/:
    parameters: []
    get:
      operationId: orgs_list
      summary: Get a list of all the organizations you are associated with.
      description: Get a list of all the organizations you are associated with.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Organization'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_read
      summary: Get the details for the specific organization.
      description: Get the details for the specific organization.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    delete:
      operationId: orgs_delete
      summary: Delete the specified organization.
      description: Delete the specified organization.
      responses:
        '204':
          description: No Content
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/deny-policy/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_deny-policy_list
      summary: Get a list of all package deny policies.
      description: Get a list of all package deny policies.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PackageDenyPolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    post:
      operationId: orgs_deny-policy_create
      summary: Create a package deny policy.
      description: Create a package deny policy.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageDenyPolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackageDenyPolicyRequest'
  /orgs/{org}/deny-policy/{slug_perm}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_deny-policy_read
      summary: Get a package deny policy.
      description: Get a package deny policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageDenyPolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    put:
      operationId: orgs_deny-policy_update
      summary: Update a package deny policy.
      description: Update a package deny policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageDenyPolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackageDenyPolicyRequest'
    patch:
      operationId: orgs_deny-policy_partial_update
      summary: Partially update a package deny policy.
      description: Partially update a package deny policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageDenyPolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackageDenyPolicyRequestPatch'
    delete:
      operationId: orgs_deny-policy_delete
      summary: Delete a package deny policy.
      description: Delete a package deny policy.
      responses:
        '204':
          description: No Content
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/invites/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_invites_list
      summary: Get a list of all invites for an organization.
      description: Get a list of all invites for an organization.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Retrieved the list of organization invites
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationInvite'
        '404':
          description: Organization invites not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    post:
      operationId: orgs_invites_create
      summary: Create an organization invite for a specific user
      description: Create an organization invite for a specific user
      responses:
        '201':
          description: Invite sent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInvite'
        '400':
          description: The invite cannot be created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationInviteRequest'
  /orgs/{org}/invites/{slug_perm}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    patch:
      operationId: orgs_invites_partial_update
      summary: Update a specific organization invite.
      description: Update a specific organization invite.
      responses:
        '200':
          description: Invite updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInvite'
        '400':
          description: The invite cannot be updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '404':
          description: Invite not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationInviteUpdateRequestPatch'
    delete:
      operationId: orgs_invites_delete
      summary: Delete a specific organization invite
      description: Delete a specific organization invite
      responses:
        '204':
          description: Deleted the organization invite successfully.
        '400':
          description: The organization invite cannot be deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/invites/{slug_perm}/extend/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: orgs_invites_extend
      summary: Extend an organization invite.
      description: Extend an organization invite.
      responses:
        '200':
          description: The invite has been extended
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInviteExtend'
        '404':
          description: Invite not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/invites/{slug_perm}/resend/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    post:
      operationId: orgs_invites_resend
      summary: Resend an organization invite.
      description: Resend an organization invite.
      responses:
        '200':
          description: The invite has been resent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInviteExtend'
        '404':
          description: Invite not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/license-policy-violation/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_license-policy-violation_list
      summary: List all current license policy violations for this Organization.
      description: List all current license policy violations for this Organization.
      parameters:
      - name: cursor
        in: query
        description: The pagination cursor value.
        required: false
        schema:
          type: string
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                required:
                - results
                type: object
                properties:
                  next:
                    type:
                    - string
                    - 'null'
                    format: uri
                  previous:
                    type:
                    - string
                    - 'null'
                    format: uri
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/PackageLicensePolicyViolationLog'
                title: PackageLicensePolicyViolationLogCursorPage
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/license-policy/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_license-policy_list
      summary: Get a list of all package license policies.
      description: Get a list of all package license policies.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationPackageLicensePolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    post:
      operationId: orgs_license-policy_create
      summary: Create a package license policy.
      description: Create a package license policy.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPackageLicensePolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationPackageLicensePolicyRequest'
  /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: policy_slug_perm
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_license-policy_evaluation_list
      summary: List evaluation requests for this policy.
      description: List evaluation requests for this policy.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PackageLicensePolicyEvaluationRequest'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    post:
      operationId: orgs_license-policy_evaluation_create
      summary: Create an evaluation request for this policy.
      description: Create an evaluation request for this policy.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageLicensePolicyEvaluationRequest'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackageLicensePolicyEvaluationRequestRequest'
  /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/{slug_perm}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: policy_slug_perm
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_license-policy_evaluation_read
      summary: Retrieve an evaluation request for this policy.
      description: Retrieve an evaluation request for this policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackageLicensePolicyEvaluationRequest'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/license-policy/{slug_perm}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: slug_perm
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_license-policy_read
      summary: Get a package license policy.
      description: Get a package license policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPackageLicensePolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    put:
      operationId: orgs_license-policy_update
      summary: Update a package license policy.
      description: Update a package license policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPackageLicensePolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationPackageLicensePolicyRequest'
    patch:
      operationId: orgs_license-policy_partial_update
      summary: Partially update a package license policy.
      description: Partially update a package license policy.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPackageLicensePolicy'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationPackageLicensePolicyRequestPatch'
    delete:
      operationId: orgs_license-policy_delete
      summary: Delete a package license policy.
      description: Delete a package license policy.
      responses:
        '204':
          description: No Content
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/members/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_members_list
      summary: Get the details for all organization members.
      description: Get the details for all organization members.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      - name: is_active
        in: query
        description: Filter for active/inactive users.
        required: false
        schema:
          type: boolean
          default: false
      - name: query
        in: query
        description: 'A search term for querying of members within an Organization.Available options are: email, org, user, userslug, inactive, user_name, role'
        required: false
        schema:
          type: string
          default: ''
      - name: sort
        in: query
        description: 'A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-user_name`). Available options: user_name, role.'
        required: false
        schema:
          type: string
          default: user_name
      responses:
        '200':
          description: Retrieved the list of organization's members
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationMembership'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
  /orgs/{org}/members/{member}/:
    parameters:
    - name: org
      in: path
      required: true
      schema:
        type: string
    - name: member
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: orgs_members_read
      summary: Get the details for a specific organization member.
      description: Get the details for a specific organization member.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMembership'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
    patch:
      operationId: orgs_members_partial_update
      summary: Views for working with organization members.
      description: Views for working with organization members.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMembership'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - orgs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationMembershipRequestPatch'
    delete:
      operationId: orgs_members_delete
      summary: Removes a member from the organization.
      description: Removes a member from the organization.
      responses:
        '204':
          description: Removed the organization member successfully.
        '400':
          description: The organization member cannot be deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          con

# --- truncated at 32 KB (136 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cloudsmith/refs/heads/main/openapi/cloudsmith-orgs-api-openapi.yml