Google Workspace Inbound SSO Assignments API

The InboundSsoAssignments API from Google Workspace — 2 operation(s) for inboundssoassignments.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /v1/inboundSsoAssignments/{inboundSsoAssignmentsId} Delete an inbound SSO assignment · Delete inboundSsoAssignments #
Ask an LLM
“How do I remove an inbound SSO assignment for a group?”
“Can I delete an inbound SSO assignment for an org unit?”
Tell an agent destructive · confirm first
Delete inbound SSO assignment {inboundSsoAssignmentsId}.
Remove the inbound SSO assignment {inboundSsoAssignmentsId}.
PATCH /v1/inboundSsoAssignments/{inboundSsoAssignmentsId} Update an inbound SSO assignment · Patch inboundSsoAssignments #
Ask an LLM
“How do I change the sign-in behavior of an inbound SSO assignment?”
“Can I move an inbound SSO assignment to a different group?”
Tell an agent
Set the sign-in behavior of inbound SSO assignment {inboundSsoAssignmentsId} to {signInBehavior}.
Move inbound SSO assignment {inboundSsoAssignmentsId} to group {targetGroup}.
GET /v1/inboundSsoAssignments/{inboundSsoAssignmentsId} Get an inbound SSO assignment · Get inboundSsoAssignments #
Ask an LLM
“How do I read one inbound SSO assignment for a group or org unit?”
“What does a single inbound SSO assignment record contain?”
Tell an agent
Get inbound SSO assignment {inboundSsoAssignmentsId}.
Show the inbound SSO assignment {inboundSsoAssignmentsId}.
GET /v1/inboundSsoAssignments List inbound SSO assignments · List inboundSsoAssignments #
Ask an LLM
“Which inbound SSO assignments exist for a customer?”
“Can I filter inbound SSO assignments to one group?”
Tell an agent
List inbound SSO assignments for customer {customer}.
Show inbound SSO assignments matching {filter}.
POST /v1/inboundSsoAssignments Create an inbound SSO assignment · Create inboundSsoAssignments #
Ask an LLM
“How do I require SSO for a group of users?”
“Can I create an inbound SSO assignment for an org unit?”
Tell an agent
Create inbound SSO assignment {name} for group {targetGroup} with SSO mode {ssoMode}.
Require SSO for org unit {targetOrgUnit} using {ssoMode}.

Documentation

Specifications

Schemas & Data

Other Resources

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/google-workspace:google-workspace-inboundssoassignments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-workspace-inboundssoassignments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Identity Inbound SSO Assignments API
  version: v1
  description: Generated from Google's published Discovery document for Cloud Identity API (cloudidentity v1, revision 20261108). 5 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://cloudidentity.googleapis.com
tags:
- name: InboundSsoAssignments
paths:
  /v1/inboundSsoAssignments/{inboundSsoAssignmentsId}:
    delete:
      operationId: cloudidentity.inboundSsoAssignments.delete
      summary: Delete inboundSsoAssignments
      description: Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has `sso_mode` == `SSO_OFF`.
      parameters:
      - name: inboundSsoAssignmentsId
        in: path
        required: true
        description: Resource name segment (inboundSsoAssignmentsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-identity.inboundsso
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - InboundSsoAssignments
    patch:
      operationId: cloudidentity.inboundSsoAssignments.patch
      summary: Patch inboundSsoAssignments
      description: 'Updates an InboundSsoAssignment. The body of this request is the `inbound_sso_assignment` field and the `update_mask` is relative to that. For example: a PATCH to `/v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank` with a body of `{ "rank": 1 }` moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority.'
      parameters:
      - name: inboundSsoAssignmentsId
        in: path
        required: true
        description: Resource name segment (inboundSsoAssignmentsId).
        schema:
          type: string
      - name: updateMask
        in: query
        required: false
        description: Required. The list of fields to be updated.
        schema:
          format: google-fieldmask
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundSsoAssignment'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-identity.inboundsso
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - InboundSsoAssignments
    get:
      operationId: cloudidentity.inboundSsoAssignments.get
      summary: Get inboundSsoAssignments
      description: Gets an InboundSsoAssignment.
      parameters:
      - name: inboundSsoAssignmentsId
        in: path
        required: true
        description: Resource name segment (inboundSsoAssignmentsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundSsoAssignment'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-identity.inboundsso
        - https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - InboundSsoAssignments
  /v1/inboundSsoAssignments:
    get:
      operationId: cloudidentity.inboundSsoAssignments.list
      summary: List inboundSsoAssignments
      description: Lists the InboundSsoAssignments for a `Customer`.
      parameters:
      - name: filter
        in: query
        required: false
        description: 'A CEL expression to filter the results. The only supported filter is filtering by customer. For example: `customer==customers/C0123abc`. Omitting the filter or specifying a filter of `customer==customers/my_customer` will return the assignments for the customer that the caller (authenticated user) belongs to.'
        schema:
          type: string
      - name: pageSize
        in: query
        required: false
        description: The maximum number of assignments to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will use a sensible default. This default may change over time. The maximum allowed value is 100, though requests with page_size greater than that will be silently interpreted as having this maximum value. This may increase in the futue.
        schema:
          format: int32
          type: integer
      - name: pageToken
        in: query
        required: false
        description: A page token, received from a previous `ListInboundSsoAssignments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInboundSsoAssignments` must match the call that provided the page token.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListInboundSsoAssignmentsResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-identity.inboundsso
        - https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - InboundSsoAssignments
    post:
      operationId: cloudidentity.inboundSsoAssignments.create
      summary: Create inboundSsoAssignments
      description: Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundSsoAssignment'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-identity.inboundsso
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - InboundSsoAssignments
components:
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    Status:
      properties:
        message:
          description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
          type: string
        details:
          description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
          type: array
          items:
            type: object
            additionalProperties:
              description: Properties of the object. Contains field @type with type URL.
        code:
          description: The status code, which should be an enum value of google.rpc.Code.
          format: int32
          type: integer
      description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
      type: object
    InboundSsoAssignment:
      properties:
        oidcSsoInfo:
          $ref: '#/components/schemas/OidcSsoInfo'
          description: OpenID Connect SSO details. Must be set if and only if `sso_mode` is set to `OIDC_SSO`.
        targetGroup:
          description: Immutable. Must be of the form `groups/{group}`.
          type: string
        name:
          type: string
          readOnly: true
          description: Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Inbound SSO Assignment.
        rank:
          description: Must be zero (which is the default value so it can be omitted) for assignments with `target_org_unit` set and must be greater-than-or-equal-to one for assignments with `target_group` set.
          format: int32
          type: integer
        customer:
          type: string
          description: 'Immutable. The customer. For example: `customers/C0123abc`.'
        ssoMode:
          type: string
          enum:
          - SSO_MODE_UNSPECIFIED
          - SSO_OFF
          - SAML_SSO
          - OIDC_SSO
          - DOMAIN_WIDE_SAML_IF_ENABLED
          description: Inbound SSO behavior.
        targetOrgUnit:
          type: string
          description: Immutable. Must be of the form `orgUnits/{org_unit}`.
        samlSsoInfo:
          $ref: '#/components/schemas/SamlSsoInfo'
          description: SAML SSO details. Must be set if and only if `sso_mode` is set to `SAML_SSO`.
        signInBehavior:
          $ref: '#/components/schemas/SignInBehavior'
          description: Assertions about users assigned to an IdP will always be accepted from that IdP. This controls whether/when Google should redirect a user to the IdP. Unset (defaults) is the recommended configuration.
      type: object
      description: Targets with "set" SSO assignments and their respective assignments.
    OidcSsoInfo:
      description: Details that are applicable when `sso_mode` is set to `OIDC_SSO`.
      type: object
      properties:
        inboundOidcSsoProfile:
          description: 'Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`. '
          type: string
    SignInBehavior:
      type: object
      description: Controls sign-in behavior.
      properties:
        redirectCondition:
          enum:
          - REDIRECT_CONDITION_UNSPECIFIED
          - NEVER
          description: When to redirect sign-ins to the IdP.
          type: string
    SamlSsoInfo:
      properties:
        inboundSamlSsoProfile:
          description: 'Required. Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. '
          type: string
      type: object
      description: Details that are applicable when `sso_mode` == `SAML_SSO`.
    ListInboundSsoAssignmentsResponse:
      type: object
      description: Response of the InboundSsoAssignmentsService.ListInboundSsoAssignments method.
      properties:
        inboundSsoAssignments:
          type: array
          description: The assignments.
          items:
            $ref: '#/components/schemas/InboundSsoAssignment'
        nextPageToken:
          type: string
          description: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
    Operation:
      properties:
        metadata:
          description: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
          type: object
        error:
          $ref: '#/components/schemas/Status'
          description: The error result of the operation in case of failure or cancellation.
        name:
          description: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
          type: string
        done:
          description: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
          type: boolean
        response:
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
          type: object
          description: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
      description: This resource represents a long-running operation that is the result of a network API call.
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-identity.policies: See and edit policies in your Cloud Identity Organization.
            https://www.googleapis.com/auth/cloud-identity.inboundsso: See and edit all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.
            https://www.googleapis.com/auth/cloud-identity.devices.readonly: 'Private Service: https://www.googleapis.com/auth/cloud-identity.devices.readonly'
            https://www.googleapis.com/auth/cloud-identity.groups.readonly: See any Cloud Identity Groups that you can access, including group members and their emails
            https://www.googleapis.com/auth/cloud-identity.devices: 'Private Service: https://www.googleapis.com/auth/cloud-identity.devices'
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
            https://www.googleapis.com/auth/cloud-identity.allowlisteddomains: See and edit allowlisted domains in your Cloud Identity Organization
            https://www.googleapis.com/auth/cloud-identity.allowlisteddomains.readonly: See allowlisted domains in your Cloud Identity Organization
            https://www.googleapis.com/auth/cloud-identity.policies.readonly: See policies in your Cloud Identity Organization.
            https://www.googleapis.com/auth/cloud-identity.devices.lookup: See your device details
            https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly: See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.
            https://www.googleapis.com/auth/cloud-identity.groups: See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
externalDocs:
  url: https://cloud.google.com/identity/
x-provenance:
  method: harvested
  publisher: Google
  source: https://cloudidentity.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261108)