Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Microsoft Azure Api Management Group User API
version: '2024-05-01'
description: 'Operations tagged GroupUser across 2 of this provider''s published API definitions: microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimgroups.json, microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimworkspaces.json. Each path carries the servers of the definition it was published in.'
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}/groups/{groupId}/users
: get:
tags:
- Group User
operationId: GroupUser_List
description: Lists a collection of user entities associated with the group.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- name: $filter
in: query
required: false
description: '| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| lastName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| email | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| registrationDate | filter | ge, le, eq, ne, gt, lt | |</br>| note | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>'
schema:
type: string
- $ref: '#/components/parameters/TopQueryParameter'
- $ref: '#/components/parameters/SkipQueryParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Lists a collection of user entities associated with the group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserCollection'
default:
description: Error response describing why the operation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
x-ms-odata: ./definitions.json#/definitions/UserContract
summary: Group user list
x-summary-source: derived
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{userId}
: head:
tags:
- Group User
operationId: GroupUser_CheckEntityExists
description: Checks that user entity specified by identifier is associated with the group entity.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Group user check entity exists
x-summary-source: derived
put:
tags:
- Group User
operationId: GroupUser_Create
description: Add existing user to existing group
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'201':
description: The user was successfully added to the group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserContract'
'200':
description: The specified user is already a member of the specified group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserContract'
default:
description: Error response describing why the operation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Group user create
x-summary-source: derived
delete:
tags:
- Group User
operationId: GroupUser_Delete
description: Remove existing user from existing group.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Group user delete
x-summary-source: derived
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/groups/{groupId}/users
: get:
tags:
- Group User
operationId: WorkspaceGroupUser_List
description: Lists a collection of user entities associated with the group.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/WorkspaceIdParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- name: $filter
in: query
required: false
description: '| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| firstName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| lastName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| email | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>| registrationDate | filter | ge, le, eq, ne, gt, lt | |</br>| note | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>'
schema:
type: string
- $ref: '#/components/parameters/TopQueryParameter'
- $ref: '#/components/parameters/SkipQueryParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Lists a collection of user entities associated with the group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserCollection'
default:
description: Error response describing why the operation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
x-ms-odata: ./definitions.json#/definitions/UserContract
summary: Workspace group user list
x-summary-source: derived
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/groups/{groupId}/users/{userId}
: head:
tags:
- Group User
operationId: WorkspaceGroupUser_CheckEntityExists
description: Checks that user entity specified by identifier is associated with the group entity.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/WorkspaceIdParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Workspace group user check entity exists
x-summary-source: derived
put:
tags:
- Group User
operationId: WorkspaceGroupUser_Create
description: Add existing user to existing group
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/WorkspaceIdParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'201':
description: The user was successfully added to the group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserContract'
'200':
description: The specified user is already a member of the specified group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserContract'
default:
description: Error response describing why the operation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Workspace group user create
x-summary-source: derived
delete:
tags:
- Group User
operationId: WorkspaceGroupUser_Delete
description: Remove existing user from existing group.
parameters:
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- $ref: '#/components/parameters/ServiceNameParameter'
- $ref: '#/components/parameters/WorkspaceIdParameter'
- $ref: '#/components/parameters/GroupIdParameter'
- $ref: '#/components/parameters/UserIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Workspace group user delete
x-summary-source: derived
servers:
- url: https://management.azure.com
components:
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
TopQueryParameter:
name: $top
in: query
required: false
description: Number of records to return.
x-ms-parameter-location: method
schema:
type: integer
format: int32
minimum: 1
SkipQueryParameter:
name: $skip
in: query
required: false
description: Number of records to skip.
x-ms-parameter-location: method
schema:
type: integer
format: int32
minimum: 0
UserIdParameter:
name: userId
in: path
required: true
description: User identifier. Must be unique in the current API Management service instance.
x-ms-parameter-location: method
schema:
type: string
maxLength: 80
minLength: 1
ServiceNameParameter:
name: serviceName
in: path
required: true
description: The name of the API Management service.
x-ms-parameter-location: method
schema:
type: string
maxLength: 50
minLength: 1
pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
GroupIdParameter:
name: groupId
in: path
required: true
description: Group identifier. Must be unique in the current API Management service instance.
x-ms-parameter-location: method
schema:
type: string
maxLength: 256
minLength: 1
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
WorkspaceIdParameter:
name: workspaceId
in: path
required: true
description: Workspace identifier. Must be unique in the current API Management service instance.
x-ms-parameter-location: method
schema:
type: string
maxLength: 80
minLength: 1
pattern: ^[^*#&+:<>?]+$
schemas:
UserCollection:
type: object
properties:
value:
type: array
items:
$ref: '#/components/schemas/UserContract'
description: Page values.
count:
type: integer
format: int64
description: Total record count number across all pages.
nextLink:
type: string
description: Next page link if any.
description: Paged Users list representation.
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
UserContract:
type: object
properties:
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/UserContractProperties'
description: User entity contract properties.
allOf:
- $ref: '#/components/schemas/ProxyResource'
description: User details.
ProxyResource:
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
type: object
allOf:
- $ref: '#/components/schemas/Resource'
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-refined-from:
- microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimgroups.json
- microsoft-azure-api-management-apimanagement-resource-manager-Microsoft.ApiManagement-ApiManagement-stable-2024-05-01-apimworkspaces.json