openapi: 3.2.0 info: title: Microsoft Azure ApiManagementClient Group User API description: Use these REST APIs for performing operations on Workspace entity and its associated entities within your Azure API Management deployment. version: 2023-05-01-preview servers: - url: https://management.azure.com security: - azure_auth: - user_impersonation tags: - name: Group User paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/groups/{groupId}/users : get: tags: - Group User operationId: microsoftAzureWorkspacegroupuserList description: Lists a collection of user entities associated with the group. x-ms-examples: ApiManagementListWorkspaceGroupUsers: $ref: ./examples/ApiManagementListWorkspaceGroupUsers.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/GroupIdParameter - name: $filter in: query required: false description: '| Field | Usage | Supported operators | Supported functions |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| lastName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| email | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
| registrationDate | filter | ge, le, eq, ne, gt, lt | |
| note | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
' schema: type: string - $ref: ./apimanagement.json#/parameters/TopQueryParameter - $ref: ./apimanagement.json#/parameters/SkipQueryParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: Lists a collection of user entities associated with the group. content: application/json: schema: $ref: ./definitions.json#/definitions/UserCollection default: description: Error response describing why the operation failed. content: application/json: schema: $ref: ./apimanagement.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-odata: ./definitions.json#/definitions/UserContract summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/groups/{groupId}/users/{userId} : head: tags: - Group User operationId: microsoftAzureWorkspacegroupuserCheckentityexists description: Checks that user entity specified by identifier is associated with the group entity. x-ms-examples: ApiManagementHeadWorkspaceGroupUser: $ref: ./examples/ApiManagementHeadWorkspaceGroupUser.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/GroupIdParameter - $ref: ./apimanagement.json#/parameters/UserIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '204': description: Entity exists '404': description: Entity does not exists. default: description: Error response describing why the operation failed. content: application/json: schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups… put: tags: - Group User operationId: microsoftAzureWorkspacegroupuserCreate description: Add existing user to existing group x-ms-examples: ApiManagementCreateWorkspaceGroupUser: $ref: ./examples/ApiManagementCreateWorkspaceGroupUser.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/GroupIdParameter - $ref: ./apimanagement.json#/parameters/UserIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The specified user is already a member of the specified group. content: application/json: schema: $ref: ./definitions.json#/definitions/UserContract '201': description: The user was successfully added to the group. content: application/json: schema: $ref: ./definitions.json#/definitions/UserContract default: description: Error response describing why the operation failed. content: application/json: schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… delete: tags: - Group User operationId: microsoftAzureWorkspacegroupuserDelete description: Remove existing user from existing group. x-ms-examples: ApiManagementDeleteWorkspaceGroupUser: $ref: ./examples/ApiManagementDeleteWorkspaceGroupUser.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/GroupIdParameter - $ref: ./apimanagement.json#/parameters/UserIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The user was successfully removed from the group. '204': description: The user was successfully removed from the group. default: description: Error response describing why the operation failed. content: application/json: schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… components: securitySchemes: azure_auth: type: oauth2 flows: implicit: scopes: user_impersonation: impersonate your user account authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize description: Azure Active Directory OAuth2 Flow. x-ms-paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}?export=true : get: tags: - Apis operationId: WorkspaceApiExport_Get description: Gets the details of the API specified by its identifier in the format specified to the Storage Blob with SAS Key valid for 5 minutes. x-ms-examples: ApiManagementGetWorkspaceApiExportInOpenApi2dot0: $ref: ./examples/ApiManagementGetWorkspaceApiExportInOpenApi2dot0.json ApiManagementGetWorkspaceApiExportInOpenApi3dot0: $ref: ./examples/ApiManagementGetWorkspaceApiExportInOpenApi3dot0.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/ApiIdRevParameter - name: format in: query required: true type: string enum: - swagger-link - wadl-link - wsdl-link - openapi-link - openapi+json-link x-ms-enum: name: ExportFormat modelAsString: true values: - value: swagger-link description: Export the Api Definition in OpenAPI 2.0 Specification as JSON document to the Storage Blob. name: Swagger - value: wsdl-link description: Export the Api Definition in WSDL Schema to Storage Blob. This is only supported for APIs of Type `soap` name: Wsdl - value: wadl-link description: Export the Api Definition in WADL Schema to Storage Blob. name: Wadl - value: openapi-link description: Export the Api Definition in OpenAPI 3.0 Specification as YAML document to Storage Blob. name: Openapi - value: openapi+json-link description: Export the Api Definition in OpenAPI 3.0 Specification as JSON document to Storage Blob. name: OpenapiJson description: Format in which to export the Api Details to the Storage Blob with Sas Key valid for 5 minutes. - name: export in: query required: true type: string enum: - 'true' x-ms-enum: modelAsString: true name: ExportApi description: Query parameter required to export the API details. - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The response contains a stream with a full set of API metadata and includes API entity with an embedded array of operation entities. schema: $ref: ./definitions.json#/definitions/ApiExportResult default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse