OAuth2PermissionGrant_Create
Grants OAuth2 permissions for the relevant resource Ids of an app.
post/{tenantID}/oauth2PermissionGrants
Path parameters
tenantIDstring required
The tenant ID.
Query parameters
api-versionstring required
Client API version.
Request body
Example request
{
"odata.type": "odata.type",
"resourceId": "resourceId",
"clientId": "clientId",
"scope": "scope",
"expiryTime": "expiryTime",
"consentType": "consentType",
"principalId": "",
"startTime": "startTime"
}Response
OK. The operation was successful.
Example response
{
"odata.type": "odata.type",
"resourceId": "resourceId",
"clientId": "clientId",
"scope": "scope",
"expiryTime": "expiryTime",
"consentType": "consentType",
"principalId": "",
"startTime": "startTime"
}Changes
Changed in 2 of the 17 revisions of this API.6
- ○
api operation id
OAuth2_Grantremoved and replaced withOAuth2PermissionGrant_Createapi-operation-id-removed
- ○
api tag
OAuth2PermissionGrant_Createaddedapi-tag-added
- ○
api tag
OAuth2Permissions_Grantremovedapi-tag-removed
- ○
- ○
api operation id
OAuth2PermissionGrant_Createremoved and replaced withOAuth2_Grantapi-operation-id-removed
- ○
api tag
OAuth2Permissions_Grantaddedapi-tag-added
- ○
api tag
OAuth2PermissionGrant_Createremovedapi-tag-removed
- ○