{"note":"OpenAPI conversion -- returning structured metadata","name":"windows-net-graphrbac","description":"GraphRbacManagementClient","version":"1.6","base_url":"https://graph.windows.net","endpoints":56,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api GraphRbacManagementClient\n@base https://graph.windows.net\n@version 1.6\n@auth OAuth2\n@common_fields {api-version: any # Client API version., tenantID: any # The tenant ID.}\n@endpoints 56\n@hint download_for_search\n@toc {tenantID}(56)\n\n@endpoint GET /{tenantID}/me\n@desc Gets the details for the currently logged-in user.\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/me/ownedObjects\n@desc Get the list of directory objects that are owned by the user.\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/applications\n@desc Create a new application.\n@required {parameters: map # The parameters for creating an application.}\n@returns(201) The application was created successfully.\n\n@endpoint GET /{tenantID}/applications\n@desc Lists applications by filter parameters.\n@optional {$filter: any # The filters to apply to the operation.}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/deletedApplications/{objectId}/restore\n@desc Restores the deleted application in the directory.\n@required {objectId: any # Application object ID.}\n@returns(200) The application was restored successfully.\n\n@endpoint GET /{tenantID}/deletedApplications\n@desc Gets a list of deleted applications in the directory.\n@optional {$filter: any # The filter to apply to the operation.}\n@returns(200) The applications were retrieved successfully.\n\n@endpoint DELETE /{tenantID}/deletedApplications/{applicationObjectId}\n@desc Hard-delete an application.\n@required {applicationObjectId: any # Application object ID.}\n@returns(204) No Content\n\n@endpoint DELETE /{tenantID}/applications/{applicationObjectId}\n@desc Delete an application.\n@required {applicationObjectId: any # Application object ID.}\n@returns(204) No Content\n\n@endpoint GET /{tenantID}/applications/{applicationObjectId}\n@desc Get an application by object ID.\n@required {applicationObjectId: any # Application object ID.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/applications/{applicationObjectId}\n@desc Update an existing application.\n@required {applicationObjectId: any # Application object ID., parameters: map # Parameters to update an existing application.}\n@returns(204) No Content\n\n@endpoint GET /{tenantID}/applications/{applicationObjectId}/owners\n@desc Directory objects that are owners of the application.\n@required {applicationObjectId: any # The object ID of the application for which to get owners.}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/applications/{applicationObjectId}/$links/owners\n@desc Add an owner to an application.\n@required {applicationObjectId: any # The object ID of the application to which to add the owner., parameters: map # The URL of the owner object, such as https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint DELETE /{tenantID}/applications/{applicationObjectId}/$links/owners/{ownerObjectId}\n@desc Remove a member from owners.\n@required {applicationObjectId: any # The object ID of the application from which to remove the owner., ownerObjectId: any # Owner object id}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint GET /{tenantID}/applications/{applicationObjectId}/keyCredentials\n@desc Get the keyCredentials associated with an application.\n@required {applicationObjectId: any # Application object ID.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/applications/{applicationObjectId}/keyCredentials\n@desc Update the keyCredentials associated with an application.\n@required {applicationObjectId: any # Application object ID., parameters: map # Parameters to update the keyCredentials of an existing application.}\n@returns(204) No Content\n\n@endpoint GET /{tenantID}/applications/{applicationObjectId}/passwordCredentials\n@desc Get the passwordCredentials associated with an application.\n@required {applicationObjectId: any # Application object ID.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/applications/{applicationObjectId}/passwordCredentials\n@desc Update passwordCredentials associated with an application.\n@required {applicationObjectId: any # Application object ID., parameters: map # Parameters to update passwordCredentials of an existing application.}\n@returns(204) No Content\n\n@endpoint POST /{tenantID}/isMemberOf\n@desc Checks whether the specified user, group, contact, or service principal is a direct or transitive member of the specified group.\n@required {parameters: map # The check group membership parameters.}\n@returns(200) OK. Indicates success. Returns true if the user, contact, group, or service principal is a direct or a transitive member of the specified group; otherwise, false.\n\n@endpoint DELETE /{tenantID}/groups/{groupObjectId}/$links/members/{memberObjectId}\n@desc Remove a member from a group.\n@required {groupObjectId: any # The object ID of the group from which to remove the member., memberObjectId: any # Member object id}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint POST /{tenantID}/groups/{groupObjectId}/$links/members\n@desc Add a member to a group.\n@required {groupObjectId: any # The object ID of the group to which to add the member., parameters: map # The URL of the member object, such as https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint POST /{tenantID}/groups\n@desc Create a group in the directory.\n@required {parameters: map # The parameters for the group to create.}\n@returns(201) Created\n\n@endpoint GET /{tenantID}/groups\n@desc Gets list of groups for the current tenant.\n@optional {$filter: any # The filter to apply to the operation.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/groups/{objectId}/members\n@desc Gets the members of a group.\n@required {objectId: any # The object ID of the group whose members should be retrieved.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/groups/{objectId}\n@desc Gets group information from the directory.\n@required {objectId: any # The object ID of the user for which to get group information.}\n@returns(200) OK. The operation was successful.\n\n@endpoint DELETE /{tenantID}/groups/{objectId}\n@desc Delete a group from the directory.\n@required {objectId: any # The object ID of the group to delete.}\n@returns(204) No Content\n\n@endpoint POST /{tenantID}/groups/{objectId}/getMemberGroups\n@desc Gets a collection of object IDs of groups of which the specified group is a member.\n@required {objectId: any # The object ID of the group for which to get group membership., parameters: map # Group filtering parameters.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/groups/{objectId}/owners\n@desc Directory objects that are owners of the group.\n@required {objectId: any # The object ID of the group for which to get owners.}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/groups/{objectId}/$links/owners\n@desc Add an owner to a group.\n@required {objectId: any # The object ID of the application to which to add the owner., parameters: map # The URL of the owner object, such as https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint DELETE /{tenantID}/groups/{objectId}/$links/owners/{ownerObjectId}\n@desc Remove a member from owners.\n@required {objectId: any # The object ID of the group from which to remove the owner., ownerObjectId: any # Owner object id}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint POST /{tenantID}/servicePrincipals\n@desc Creates a service principal in the directory.\n@required {parameters: map # Parameters to create a service principal.}\n@returns(201) The service principal was created successfully.\n\n@endpoint GET /{tenantID}/servicePrincipals\n@desc Gets a list of service principals from the current tenant.\n@optional {$filter: any # The filter to apply to the operation.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId\n@desc Gets an object id for a given application id from the current tenant.\n@required {applicationID: any # The application ID.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/servicePrincipals/{objectId}\n@desc Updates a service principal in the directory.\n@required {objectId: any # The object ID of the service principal to delete., parameters: map # Parameters to update a service principal.}\n@returns(204) No Content\n\n@endpoint DELETE /{tenantID}/servicePrincipals/{objectId}\n@desc Deletes a service principal from the directory.\n@required {objectId: any # The object ID of the service principal to delete.}\n@returns(204) No Content\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}\n@desc Gets service principal information from the directory. Query by objectId or pass a filter to query by appId\n@required {objectId: any # The object ID of the service principal to get.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}/appRoleAssignedTo\n@desc Principals (users, groups, and service principals) that are assigned to this service principal.\n@required {objectId: any # The object ID of the service principal for which to get owners.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}/appRoleAssignments\n@desc Applications that the service principal is assigned to.\n@required {objectId: any # The object ID of the service principal for which to get owners.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}/owners\n@desc Directory objects that are owners of this service principal.\n@required {objectId: any # The object ID of the service principal for which to get owners.}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/servicePrincipals/{objectId}/$links/owners\n@desc Add an owner to a service principal.\n@required {objectId: any # The object ID of the service principal to which to add the owner., parameters: map # The URL of the owner object, such as https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd.}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint DELETE /{tenantID}/servicePrincipals/{objectId}/$links/owners/{ownerObjectId}\n@desc Remove a member from owners.\n@required {objectId: any # The object ID of the service principal from which to remove the owner., ownerObjectId: any # Owner object id}\n@returns(204) No Content. Indicates success. No response body is returned.\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}/keyCredentials\n@desc Get the keyCredentials associated with the specified service principal.\n@required {objectId: any # The object ID of the service principal for which to get keyCredentials.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/servicePrincipals/{objectId}/keyCredentials\n@desc Update the keyCredentials associated with a service principal.\n@required {objectId: any # The object ID for which to get service principal information., parameters: map # Parameters to update the keyCredentials of an existing service principal.}\n@returns(204) No Content\n\n@endpoint GET /{tenantID}/servicePrincipals/{objectId}/passwordCredentials\n@desc Gets the passwordCredentials associated with a service principal.\n@required {objectId: any # The object ID of the service principal.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/servicePrincipals/{objectId}/passwordCredentials\n@desc Updates the passwordCredentials associated with a service principal.\n@required {objectId: any # The object ID of the service principal., parameters: map # Parameters to update the passwordCredentials of an existing service principal.}\n@returns(204) No Content\n\n@endpoint POST /{tenantID}/users\n@desc Create a new user.\n@required {parameters: map # Parameters to create a user.}\n@returns(201) Created. Indicates success. The new user is returned in the response body.\n\n@endpoint GET /{tenantID}/users\n@desc Gets list of users for the current tenant.\n@optional {$filter: any # The filter to apply to the operation., $expand: any # The expand value for the operation result., $top: any # (Optional) Set the maximum number of results per response.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/users/{upnOrObjectId}\n@desc Gets user information from the directory.\n@required {upnOrObjectId: any # The object ID or principal name of the user for which to get information.}\n@returns(200) OK. The operation was successful.\n\n@endpoint PATCH /{tenantID}/users/{upnOrObjectId}\n@desc Updates a user.\n@required {upnOrObjectId: any # The object ID or principal name of the user to update., parameters: map # Parameters to update an existing user.}\n@returns(204) No Content.\n\n@endpoint DELETE /{tenantID}/users/{upnOrObjectId}\n@desc Delete a user.\n@required {upnOrObjectId: any # The object ID or principal name of the user to delete.}\n@returns(204) No Content\n\n@endpoint POST /{tenantID}/users/{objectId}/getMemberGroups\n@desc Gets a collection that contains the object IDs of the groups of which the user is a member.\n@required {objectId: any # The object ID of the user for which to get group membership., parameters: map # User filtering parameters.}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/getObjectsByObjectIds\n@desc Gets the directory objects specified in a list of object IDs. You can also specify which resource collections (users, groups, etc.) should be searched by specifying the optional types parameter.\n@required {parameters: map # Objects filtering parameters.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/domains\n@desc Gets a list of domains for the current tenant.\n@optional {$filter: any # The filter to apply to the operation.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/domains/{domainName}\n@desc Gets a specific domain in the current tenant.\n@required {domainName: any # name of the domain.}\n@returns(200) OK. The operation was successful.\n\n@endpoint GET /{tenantID}/oauth2PermissionGrants\n@desc Queries OAuth2 permissions grants for the relevant SP ObjectId of an app.\n@optional {$filter: any # This is the Service Principal ObjectId associated with the app}\n@returns(200) OK. The operation was successful.\n\n@endpoint POST /{tenantID}/oauth2PermissionGrants\n@desc Grants OAuth2 permissions for the relevant resource Ids of an app.\n@optional {body: any # The relevant app Service Principal Object Id and the Service Principal Object Id you want to grant.}\n@returns(201) OK. The operation was successful.\n\n@endpoint DELETE /{tenantID}/oauth2PermissionGrants/{objectId}\n@desc Delete a OAuth2 permission grant for the relevant resource Ids of an app.\n@required {objectId: any # The object ID of a permission grant.}\n@returns(204) No Content\n\n@end\n"}