Cloudsmith · Capability

Cloudsmith API (v1) — orgs

Cloudsmith API (v1) — orgs. 73 operations. Lead operation: Get a list of all the organizations you are associated with.. Self-contained Naftiko capability covering one Cloudsmith business surface.

Run with Naftiko Cloudsmithorgs

What You Can Do

GET
Orgslist — Get a list of all the organizations you are associated with.
/v1/orgs
GET
Orgsread — Get the details for the specific organization.
/v1/orgs/{org}
DELETE
Orgsdelete — Delete the specified organization.
/v1/orgs/{org}
GET
Orgsdenypolicylist — Get a list of all package deny policies.
/v1/orgs/{org}/deny-policy
POST
Orgsdenypolicycreate — Create a package deny policy.
/v1/orgs/{org}/deny-policy
GET
Orgsdenypolicyread — Get a package deny policy.
/v1/orgs/{org}/deny-policy/{slug-perm}
PUT
Orgsdenypolicyupdate — Update a package deny policy.
/v1/orgs/{org}/deny-policy/{slug-perm}
PATCH
Orgsdenypolicypartialupdate — Partially update a package deny policy.
/v1/orgs/{org}/deny-policy/{slug-perm}
DELETE
Orgsdenypolicydelete — Delete a package deny policy.
/v1/orgs/{org}/deny-policy/{slug-perm}
GET
Orgsinviteslist — Get a list of all invites for an organization.
/v1/orgs/{org}/invites
POST
Orgsinvitescreate — Create an organization invite for a specific user
/v1/orgs/{org}/invites
PATCH
Orgsinvitespartialupdate — Update a specific organization invite.
/v1/orgs/{org}/invites/{slug-perm}
DELETE
Orgsinvitesdelete — Delete a specific organization invite
/v1/orgs/{org}/invites/{slug-perm}
POST
Orgsinvitesextend — Extend an organization invite.
/v1/orgs/{org}/invites/{slug-perm}/extend
POST
Orgsinvitesresend — Resend an organization invite.
/v1/orgs/{org}/invites/{slug-perm}/resend
GET
Orgslicensepolicyviolationlist — List all current license policy violations for this Organization.
/v1/orgs/{org}/license-policy-violation
GET
Orgslicensepolicylist — Get a list of all package license policies.
/v1/orgs/{org}/license-policy
POST
Orgslicensepolicycreate — Create a package license policy.
/v1/orgs/{org}/license-policy
GET
Orgslicensepolicyevaluationlist — List evaluation requests for this policy.
/v1/orgs/{org}/license-policy/{policy-slug-perm}/evaluation
POST
Orgslicensepolicyevaluationcreate — Create an evaluation request for this policy.
/v1/orgs/{org}/license-policy/{policy-slug-perm}/evaluation
GET
Orgslicensepolicyevaluationread — Retrieve an evaluation request for this policy.
/v1/orgs/{org}/license-policy/{policy-slug-perm}/evaluation/{slug-perm}
GET
Orgslicensepolicyread — Get a package license policy.
/v1/orgs/{org}/license-policy/{slug-perm}
PUT
Orgslicensepolicyupdate — Update a package license policy.
/v1/orgs/{org}/license-policy/{slug-perm}
PATCH
Orgslicensepolicypartialupdate — Partially update a package license policy.
/v1/orgs/{org}/license-policy/{slug-perm}
DELETE
Orgslicensepolicydelete — Delete a package license policy.
/v1/orgs/{org}/license-policy/{slug-perm}
GET
Orgsmemberslist — Get the details for all organization members.
/v1/orgs/{org}/members
GET
Orgsmembersread — Get the details for a specific organization member.
/v1/orgs/{org}/members/{member}
PATCH
Orgsmemberspartialupdate — Views for working with organization members.
/v1/orgs/{org}/members/{member}
DELETE
Orgsmembersdelete — Removes a member from the organization.
/v1/orgs/{org}/members/{member}
POST
Orgsmembersrefresh — Refresh a member of the organization's API key.
/v1/orgs/{org}/members/{member}/refresh
GET
Orgsmembersremove — Removes a member from the organization (deprecated, use DELETE instead).
/v1/orgs/{org}/members/{member}/remove
PATCH
Orgsmembersupdaterole — Update a member's role in the organization.
/v1/orgs/{org}/members/{member}/update-role
PATCH
Orgsmembersupdatevisibility — Update a member's visibility in the organization.
/v1/orgs/{org}/members/{member}/update-visibility
GET
Orgsopenidconnectlist — Retrieve the list of OpenID Connect provider settings for the org.
/v1/orgs/{org}/openid-connect
POST
Orgsopenidconnectcreate — Create the OpenID Connect provider settings for the org.
/v1/orgs/{org}/openid-connect
GET
Orgsopenidconnectdynamicmappingslist — Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
/v1/orgs/{org}/openid-connect/{provider-setting}/dynamic-mappings
GET
Orgsopenidconnectdynamicmappingsread — Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
/v1/orgs/{org}/openid-connect/{provider-setting}/dynamic-mappings/{claim-value}
GET
Orgsopenidconnectread — Retrieve a specific OpenID Connect provider setting for the org.
/v1/orgs/{org}/openid-connect/{slug-perm}
PUT
Orgsopenidconnectupdate — Update a specific OpenID Connect provider setting for the org.
/v1/orgs/{org}/openid-connect/{slug-perm}
PATCH
Orgsopenidconnectpartialupdate — Update a specific OpenID Connect provider setting for the org.
/v1/orgs/{org}/openid-connect/{slug-perm}
DELETE
Orgsopenidconnectdelete — Delete a specific OpenID Connect provider setting for the org.
/v1/orgs/{org}/openid-connect/{slug-perm}
GET
Orgssamlauthenticationread — Retrieve the SAML Authentication settings for this Organization.
/v1/orgs/{org}/saml-authentication
PATCH
Orgssamlauthenticationpartialupdate — Update the SAML Authentication settings for this Organization.
/v1/orgs/{org}/saml-authentication
GET
Orgssamlgroupsynclist — Get the details of all SAML Group Sync mapping within an organization.
/v1/orgs/{org}/saml-group-sync
POST
Orgssamlgroupsynccreate — Create a new SAML Group Sync mapping within an organization.
/v1/orgs/{org}/saml-group-sync
POST
Orgssamlgroupsyncdisable — Disable SAML Group Sync for this organization.
/v1/orgs/{org}/saml-group-sync/disable
POST
Orgssamlgroupsyncenable — Enable SAML Group Sync for this organization.
/v1/orgs/{org}/saml-group-sync/enable
GET
Orgssamlgroupsyncstatus — Retrieve the SAML Group Sync status for this organization.
/v1/orgs/{org}/saml-group-sync/status
DELETE
Orgssamlgroupsyncdelete — Delete a SAML Group Sync mapping from an organization.
/v1/orgs/{org}/saml-group-sync/{slug-perm}
GET
Orgsserviceslist — Get a list of all services within an organization.
/v1/orgs/{org}/services
POST
Orgsservicescreate — Create a service within an organization.
/v1/orgs/{org}/services
GET
Orgsservicesread — Retrieve details of a single service within an organization.
/v1/orgs/{org}/services/{service}
PATCH
Orgsservicespartialupdate — Update a service within an organization.
/v1/orgs/{org}/services/{service}
DELETE
Orgsservicesdelete — Delete a specific service
/v1/orgs/{org}/services/{service}
POST
Orgsservicesrefresh — Refresh service API token.
/v1/orgs/{org}/services/{service}/refresh
GET
Orgsteamslist — Get the details of all teams within an organization.
/v1/orgs/{org}/teams
POST
Orgsteamscreate — Create a team for this organization.
/v1/orgs/{org}/teams
GET
Orgsteamsread — Get the details of a specific team within an organization.
/v1/orgs/{org}/teams/{team}
PATCH
Orgsteamspartialupdate — Update a specific team in a organization.
/v1/orgs/{org}/teams/{team}
DELETE
Orgsteamsdelete — Delete a specific team in a organization.
/v1/orgs/{org}/teams/{team}
GET
Orgsteamsmemberslist — List all members for the team.
/v1/orgs/{org}/teams/{team}/members
POST
Orgsteamsmemberscreate — Add users to a team.
/v1/orgs/{org}/teams/{team}/members
PUT
Orgsteamsmembersupdate — Replace all team members.
/v1/orgs/{org}/teams/{team}/members
GET
Orgsvulnerabilitypolicyviolationlist — List all current vulnerability policy violations for this Organization.
/v1/orgs/{org}/vulnerability-policy-violation
GET
Orgsvulnerabilitypolicylist — Get a list of all package vulnerability policies.
/v1/orgs/{org}/vulnerability-policy
POST
Orgsvulnerabilitypolicycreate — Create a package vulnerability policy.
/v1/orgs/{org}/vulnerability-policy
GET
Orgsvulnerabilitypolicyevaluationlist — List evaluation requests for this policy.
/v1/orgs/{org}/vulnerability-policy/{policy-slug-perm}/evaluation
POST
Orgsvulnerabilitypolicyevaluationcreate — Create an evaluation request for this policy.
/v1/orgs/{org}/vulnerability-policy/{policy-slug-perm}/evaluation
GET
Orgsvulnerabilitypolicyevaluationread — Retrieve an evaluation request for this policy.
/v1/orgs/{org}/vulnerability-policy/{policy-slug-perm}/evaluation/{slug-perm}
GET
Orgsvulnerabilitypolicyread — Get a package vulnerability policy.
/v1/orgs/{org}/vulnerability-policy/{slug-perm}
PUT
Orgsvulnerabilitypolicyupdate — Update a package vulnerability policy.
/v1/orgs/{org}/vulnerability-policy/{slug-perm}
PATCH
Orgsvulnerabilitypolicypartialupdate — Partially update a package vulnerability policy.
/v1/orgs/{org}/vulnerability-policy/{slug-perm}
DELETE
Orgsvulnerabilitypolicydelete — Delete a package vulnerability policy.
/v1/orgs/{org}/vulnerability-policy/{slug-perm}

MCP Tools

get-list-all-organizations-you

Get a list of all the organizations you are associated with.

read-only idempotent
get-details-specific-organization

Get the details for the specific organization.

read-only idempotent
delete-specified-organization

Delete the specified organization.

idempotent
get-list-all-package-deny

Get a list of all package deny policies.

read-only idempotent
create-package-deny-policy

Create a package deny policy.

get-package-deny-policy

Get a package deny policy.

read-only idempotent
update-package-deny-policy

Update a package deny policy.

idempotent
partially-update-package-deny-policy

Partially update a package deny policy.

idempotent
delete-package-deny-policy

Delete a package deny policy.

idempotent
get-list-all-invites-organization

Get a list of all invites for an organization.

read-only idempotent
create-organization-invite-specific-user

Create an organization invite for a specific user

update-specific-organization-invite

Update a specific organization invite.

idempotent
delete-specific-organization-invite

Delete a specific organization invite

idempotent
extend-organization-invite

Extend an organization invite.

resend-organization-invite

Resend an organization invite.

list-all-current-license-policy

List all current license policy violations for this Organization.

read-only idempotent
get-list-all-package-license

Get a list of all package license policies.

read-only idempotent
create-package-license-policy

Create a package license policy.

list-evaluation-requests-this-policy

List evaluation requests for this policy.

read-only idempotent
create-evaluation-request-this-policy

Create an evaluation request for this policy.

retrieve-evaluation-request-this-policy

Retrieve an evaluation request for this policy.

read-only idempotent
get-package-license-policy

Get a package license policy.

read-only idempotent
update-package-license-policy

Update a package license policy.

idempotent
partially-update-package-license-policy

Partially update a package license policy.

idempotent
delete-package-license-policy

Delete a package license policy.

idempotent
get-details-all-organization-members

Get the details for all organization members.

read-only idempotent
get-details-specific-organization-member

Get the details for a specific organization member.

read-only idempotent
views-working-organization-members

Views for working with organization members.

idempotent
removes-member-organization

Removes a member from the organization.

idempotent
refresh-member-organization-s-api-key

Refresh a member of the organization's API key.

removes-member-organization-deprecated-use

Removes a member from the organization (deprecated, use DELETE instead).

read-only idempotent
update-member-s-role-organization

Update a member's role in the organization.

idempotent
update-member-s-visibility-organization

Update a member's visibility in the organization.

idempotent
retrieve-list-openid-connect-provider

Retrieve the list of OpenID Connect provider settings for the org.

read-only idempotent
create-openid-connect-provider-settings

Create the OpenID Connect provider settings for the org.

retrieve-list-openid-connect-dynamic

Retrieve the list of OpenID Connect dynamic mappings for the provider setting.

read-only idempotent
retrieve-specific-openid-connect-dynamic

Retrieve a specific OpenID Connect dynamic mapping for the provider setting.

read-only idempotent
retrieve-specific-openid-connect-provider

Retrieve a specific OpenID Connect provider setting for the org.

read-only idempotent
update-specific-openid-connect-provider

Update a specific OpenID Connect provider setting for the org.

idempotent
update-specific-openid-connect-provider-2

Update a specific OpenID Connect provider setting for the org.

idempotent
delete-specific-openid-connect-provider

Delete a specific OpenID Connect provider setting for the org.

idempotent
retrieve-saml-authentication-settings-this

Retrieve the SAML Authentication settings for this Organization.

read-only idempotent
update-saml-authentication-settings-this

Update the SAML Authentication settings for this Organization.

idempotent
get-details-all-saml-group

Get the details of all SAML Group Sync mapping within an organization.

read-only idempotent
create-new-saml-group-sync

Create a new SAML Group Sync mapping within an organization.

disable-saml-group-sync-this

Disable SAML Group Sync for this organization.

enable-saml-group-sync-this

Enable SAML Group Sync for this organization.

retrieve-saml-group-sync-status

Retrieve the SAML Group Sync status for this organization.

read-only idempotent
delete-saml-group-sync-mapping

Delete a SAML Group Sync mapping from an organization.

idempotent
get-list-all-services-within

Get a list of all services within an organization.

read-only idempotent
create-service-within-organization

Create a service within an organization.

retrieve-details-single-service-within

Retrieve details of a single service within an organization.

read-only idempotent
update-service-within-organization

Update a service within an organization.

idempotent
delete-specific-service

Delete a specific service

idempotent
refresh-service-api-token

Refresh service API token.

get-details-all-teams-within

Get the details of all teams within an organization.

read-only idempotent
create-team-this-organization

Create a team for this organization.

get-details-specific-team-within

Get the details of a specific team within an organization.

read-only idempotent
update-specific-team-organization

Update a specific team in a organization.

idempotent
delete-specific-team-organization

Delete a specific team in a organization.

idempotent
list-all-members-team

List all members for the team.

read-only idempotent
add-users-team

Add users to a team.

replace-all-team-members

Replace all team members.

idempotent
list-all-current-vulnerability-policy

List all current vulnerability policy violations for this Organization.

read-only idempotent
get-list-all-package-vulnerability

Get a list of all package vulnerability policies.

read-only idempotent
create-package-vulnerability-policy

Create a package vulnerability policy.

list-evaluation-requests-this-policy-2

List evaluation requests for this policy.

read-only idempotent
create-evaluation-request-this-policy-2

Create an evaluation request for this policy.

retrieve-evaluation-request-this-policy-2

Retrieve an evaluation request for this policy.

read-only idempotent
get-package-vulnerability-policy

Get a package vulnerability policy.

read-only idempotent
update-package-vulnerability-policy

Update a package vulnerability policy.

idempotent
partially-update-package-vulnerability-policy

Partially update a package vulnerability policy.

idempotent
delete-package-vulnerability-policy

Delete a package vulnerability policy.

idempotent

Capability Spec

cloudsmith-orgs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cloudsmith API (v1) — orgs
  description: 'Cloudsmith API (v1) — orgs. 73 operations. Lead operation: Get a list of all the organizations you are associated
    with.. Self-contained Naftiko capability covering one Cloudsmith business surface.'
  tags:
  - Cloudsmith
  - orgs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOUDSMITH_API_KEY: CLOUDSMITH_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudsmith-orgs
    baseUri: https://api.cloudsmith.io
    description: Cloudsmith API (v1) — orgs business capability. Self-contained, no shared references.
    resources:
    - name: orgs
      path: /orgs/
      operations:
      - name: orgslist
        method: GET
        description: Get a list of all the organizations you are associated with.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
    - name: orgs-org
      path: /orgs/{org}/
      operations:
      - name: orgsread
        method: GET
        description: Get the details for the specific organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsdelete
        method: DELETE
        description: Delete the specified organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-deny-policy
      path: /orgs/{org}/deny-policy/
      operations:
      - name: orgsdenypolicylist
        method: GET
        description: Get a list of all package deny policies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgsdenypolicycreate
        method: POST
        description: Create a package deny policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-deny-policy-slug_perm
      path: /orgs/{org}/deny-policy/{slug_perm}/
      operations:
      - name: orgsdenypolicyread
        method: GET
        description: Get a package deny policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsdenypolicyupdate
        method: PUT
        description: Update a package deny policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsdenypolicypartialupdate
        method: PATCH
        description: Partially update a package deny policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsdenypolicydelete
        method: DELETE
        description: Delete a package deny policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-invites
      path: /orgs/{org}/invites/
      operations:
      - name: orgsinviteslist
        method: GET
        description: Get a list of all invites for an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgsinvitescreate
        method: POST
        description: Create an organization invite for a specific user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-invites-slug_perm
      path: /orgs/{org}/invites/{slug_perm}/
      operations:
      - name: orgsinvitespartialupdate
        method: PATCH
        description: Update a specific organization invite.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsinvitesdelete
        method: DELETE
        description: Delete a specific organization invite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-invites-slug_perm-extend
      path: /orgs/{org}/invites/{slug_perm}/extend/
      operations:
      - name: orgsinvitesextend
        method: POST
        description: Extend an organization invite.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-invites-slug_perm-resend
      path: /orgs/{org}/invites/{slug_perm}/resend/
      operations:
      - name: orgsinvitesresend
        method: POST
        description: Resend an organization invite.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-license-policy-violation
      path: /orgs/{org}/license-policy-violation/
      operations:
      - name: orgslicensepolicyviolationlist
        method: GET
        description: List all current license policy violations for this Organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
    - name: orgs-org-license-policy
      path: /orgs/{org}/license-policy/
      operations:
      - name: orgslicensepolicylist
        method: GET
        description: Get a list of all package license policies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgslicensepolicycreate
        method: POST
        description: Create a package license policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-license-policy-policy_slug_perm-evaluation
      path: /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/
      operations:
      - name: orgslicensepolicyevaluationlist
        method: GET
        description: List evaluation requests for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgslicensepolicyevaluationcreate
        method: POST
        description: Create an evaluation request for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-license-policy-policy_slug_perm-evaluation-slug_perm
      path: /orgs/{org}/license-policy/{policy_slug_perm}/evaluation/{slug_perm}/
      operations:
      - name: orgslicensepolicyevaluationread
        method: GET
        description: Retrieve an evaluation request for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-license-policy-slug_perm
      path: /orgs/{org}/license-policy/{slug_perm}/
      operations:
      - name: orgslicensepolicyread
        method: GET
        description: Get a package license policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgslicensepolicyupdate
        method: PUT
        description: Update a package license policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgslicensepolicypartialupdate
        method: PATCH
        description: Partially update a package license policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgslicensepolicydelete
        method: DELETE
        description: Delete a package license policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-members
      path: /orgs/{org}/members/
      operations:
      - name: orgsmemberslist
        method: GET
        description: Get the details for all organization members.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
        - name: is_active
          in: query
          type: boolean
          description: Filter for active/inactive users.
        - name: query
          in: query
          type: string
          description: 'A search term for querying of members within an Organization.Available options are: email, org, user,
            userslug, inactive, user_name, role'
        - name: sort
          in: query
          type: string
          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.'
    - name: orgs-org-members-member
      path: /orgs/{org}/members/{member}/
      operations:
      - name: orgsmembersread
        method: GET
        description: Get the details for a specific organization member.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsmemberspartialupdate
        method: PATCH
        description: Views for working with organization members.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsmembersdelete
        method: DELETE
        description: Removes a member from the organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-members-member-refresh
      path: /orgs/{org}/members/{member}/refresh/
      operations:
      - name: orgsmembersrefresh
        method: POST
        description: Refresh a member of the organization's API key.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-members-member-remove
      path: /orgs/{org}/members/{member}/remove/
      operations:
      - name: orgsmembersremove
        method: GET
        description: Removes a member from the organization (deprecated, use DELETE instead).
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-members-member-update-role
      path: /orgs/{org}/members/{member}/update-role/
      operations:
      - name: orgsmembersupdaterole
        method: PATCH
        description: Update a member's role in the organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-members-member-update-visibility
      path: /orgs/{org}/members/{member}/update-visibility/
      operations:
      - name: orgsmembersupdatevisibility
        method: PATCH
        description: Update a member's visibility in the organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-openid-connect
      path: /orgs/{org}/openid-connect/
      operations:
      - name: orgsopenidconnectlist
        method: GET
        description: Retrieve the list of OpenID Connect provider settings for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
        - name: query
          in: query
          type: string
          description: 'A search term for querying of OpenID Connect (OIDC) provider settings.Available options are: name,
            provider_url, service_account'
        - name: sort
          in: query
          type: string
          description: 'A field for sorting objects in ascending or descending order. Use `-` prefix for descending order
            (e.g., `-name`). Available options: name.'
      - name: orgsopenidconnectcreate
        method: POST
        description: Create the OpenID Connect provider settings for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-openid-connect-provider_setting-dynamic-mappings
      path: /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/
      operations:
      - name: orgsopenidconnectdynamicmappingslist
        method: GET
        description: Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
    - name: orgs-org-openid-connect-provider_setting-dynamic-mappings-claim_value
      path: /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/
      operations:
      - name: orgsopenidconnectdynamicmappingsread
        method: GET
        description: Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-openid-connect-slug_perm
      path: /orgs/{org}/openid-connect/{slug_perm}/
      operations:
      - name: orgsopenidconnectread
        method: GET
        description: Retrieve a specific OpenID Connect provider setting for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsopenidconnectupdate
        method: PUT
        description: Update a specific OpenID Connect provider setting for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsopenidconnectpartialupdate
        method: PATCH
        description: Update a specific OpenID Connect provider setting for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsopenidconnectdelete
        method: DELETE
        description: Delete a specific OpenID Connect provider setting for the org.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-saml-authentication
      path: /orgs/{org}/saml-authentication
      operations:
      - name: orgssamlauthenticationread
        method: GET
        description: Retrieve the SAML Authentication settings for this Organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgssamlauthenticationpartialupdate
        method: PATCH
        description: Update the SAML Authentication settings for this Organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-saml-group-sync
      path: /orgs/{org}/saml-group-sync/
      operations:
      - name: orgssamlgroupsynclist
        method: GET
        description: Get the details of all SAML Group Sync mapping within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgssamlgroupsynccreate
        method: POST
        description: Create a new SAML Group Sync mapping within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-saml-group-sync-disable
      path: /orgs/{org}/saml-group-sync/disable/
      operations:
      - name: orgssamlgroupsyncdisable
        method: POST
        description: Disable SAML Group Sync for this organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-saml-group-sync-enable
      path: /orgs/{org}/saml-group-sync/enable/
      operations:
      - name: orgssamlgroupsyncenable
        method: POST
        description: Enable SAML Group Sync for this organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-saml-group-sync-status
      path: /orgs/{org}/saml-group-sync/status/
      operations:
      - name: orgssamlgroupsyncstatus
        method: GET
        description: Retrieve the SAML Group Sync status for this organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-saml-group-sync-slug_perm
      path: /orgs/{org}/saml-group-sync/{slug_perm}/
      operations:
      - name: orgssamlgroupsyncdelete
        method: DELETE
        description: Delete a SAML Group Sync mapping from an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-services
      path: /orgs/{org}/services/
      operations:
      - name: orgsserviceslist
        method: GET
        description: Get a list of all services within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
        - name: query
          in: query
          type: string
          description: 'A search term for querying of services within an Organization.Available options are: name, role'
        - name: sort
          in: query
          type: string
          description: 'A field for sorting objects in ascending or descending order. Use `-` prefix for descending order
            (e.g., `-created_at`). Available options: created_at, name, ro'
      - name: orgsservicescreate
        method: POST
        description: Create a service within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-services-service
      path: /orgs/{org}/services/{service}/
      operations:
      - name: orgsservicesread
        method: GET
        description: Retrieve details of a single service within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsservicespartialupdate
        method: PATCH
        description: Update a service within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsservicesdelete
        method: DELETE
        description: Delete a specific service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-services-service-refresh
      path: /orgs/{org}/services/{service}/refresh/
      operations:
      - name: orgsservicesrefresh
        method: POST
        description: Refresh service API token.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams
      path: /orgs/{org}/teams/
      operations:
      - name: orgsteamslist
        method: GET
        description: Get the details of all teams within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
        - name: for_user
          in: query
          type: boolean
          description: Filter for teams that you are a member of.
        - name: query
          in: query
          type: string
          description: 'A search term for querying of teams within an Organization.Available options are: name, slug, user,
            userslug'
        - name: sort
          in: query
          type: string
          description: 'A field for sorting objects in ascending or descending order. Use `-` prefix for descending order
            (e.g., `-name`). Available options: name, members.'
      - name: orgsteamscreate
        method: POST
        description: Create a team for this organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-teams-team
      path: /orgs/{org}/teams/{team}/
      operations:
      - name: orgsteamsread
        method: GET
        description: Get the details of a specific team within an organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsteamspartialupdate
        method: PATCH
        description: Update a specific team in a organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsteamsdelete
        method: DELETE
        description: Delete a specific team in a organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team-members
      path: /orgs/{org}/teams/{team}/members
      operations:
      - name: orgsteamsmemberslist
        method: GET
        description: List all members for the team.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: user_kind
          in: query
          type: string
          description: Filter accounts by type. Possible values are 'user' and 'service'. If not provided, only users are
            returned.
      - name: orgsteamsmemberscreate
        method: POST
        description: Add users to a team.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsteamsmembersupdate
        method: PUT
        description: Replace all team members.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-vulnerability-policy-violation
      path: /orgs/{org}/vulnerability-policy-violation/
      operations:
      - name: orgsvulnerabilitypolicyviolationlist
        method: GET
        description: List all current vulnerability policy violations for this Organization.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
    - name: orgs-org-vulnerability-policy
      path: /orgs/{org}/vulnerability-policy/
      operations:
      - name: orgsvulnerabilitypolicylist
        method: GET
        description: Get a list of all package vulnerability policies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgsvulnerabilitypolicycreate
        method: POST
        description: Create a package vulnerability policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-vulnerability-policy-policy_slug_perm-evaluation
      path: /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/
      operations:
      - name: orgsvulnerabilitypolicyevaluationlist
        method: GET
        description: List evaluation requests for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: A page number within the paginated result set.
        - name: page_size
          in: query
          type: integer
          description: Number of results to return per page.
      - name: orgsvulnerabilitypolicyevaluationcreate
        method: POST
        description: Create an evaluation request for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
    - name: orgs-org-vulnerability-policy-policy_slug_perm-evaluation-slug_perm
      path: /orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/{slug_perm}/
      operations:
      - name: orgsvulnerabilitypolicyevaluationread
        method: GET
        description: Retrieve an evaluation request for this policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-vulnerability-policy-slug_perm
      path: /orgs/{org}/vulnerability-policy/{slug_perm}/
      operations:
      - name: orgsvulnerabilitypolicyread
        method: GET
        description: Get a package vulnerability policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: orgsvulnerabilitypolicyupdate
        method: PUT
        description: Update a package vulnerability policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsvulnerabilitypolicypartialupdate
        method: PATCH
        description: Partially update a package vulnerability policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: data
          in: body
          type: string
      - name: orgsvulnerabilitypolicydelete
        method: DELETE
        description: Delete a package vulnerability policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: cloudsmith-orgs-rest
    port: 8080
    description: REST adapter for Cloudsmith API (v1) — orgs. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs
      name: orgs
      description: REST surface for orgs.
      operations:
      - method: G

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