Create Grants
Search Grants
post/api/v1/search/grants
Invokes the c1.api.app.v1.AppEntitlementSearchService.SearchGrants method.
Body Parameters
appIdsarray of string
optional
Search for grants contained in any of these apps.
appUserIdsarray of string
optional
Search for grants that are granted to any of these app user ids.
Search for grants of an entitlement
The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.
pageSizenumber
optional
The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
formatint32
pageTokenstring
optional
The pageToken field.
resourceIdsarray of string
optional
Search for grants within a resource.
resourceTypeIdsarray of string
optional
Search grants for given resource types.
userIdstring
optional
Search for grants of a user
Returns
expandedarray of object
optional
The expanded field.
listarray of object
optional
The list field.
nextPageTokenstring
optional
The nextPageToken field.
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/search/grants \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"appEntitlementUserBinding": {
"appUser": {
"appPath": "appPath",
"appUser": {
"appUserType": "APP_USER_TYPE_UNSPECIFIED",
"status": {}
},
"identityUserPath": "identityUserPath",
"lastUsagePath": "lastUsagePath"
},
"grantSources": [
{
"id": "id",
"appId": "appId"
}
]
},
"entitlement": {
"appEntitlement": {
"alias": "alias",
"appId": "appId",
"appResourceId": "appResourceId",
"appResourceTypeId": "appResourceTypeId",
"certifyPolicyId": "certifyPolicyId",
"complianceFrameworkValueIds": [
"string"
],
"defaultValuesApplied": true,
"deprovisionerPolicy": {
"connector": {
"account": {
"config": {
"foo": "bar"
},
"connectorId": "connectorId",
"doNotSave": {},
"saveToVault": {
"vaultIds": [
"string"
]
},
"schemaId": "schemaId"
},
"defaultBehavior": {
"connectorId": "connectorId"
},
"deleteAccount": {
"connectorId": "connectorId"
}
},
"delegated": {
"appId": "appId",
"entitlementId": "entitlementId",
"implicit": true
},
"externalTicket": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"instructions": "instructions"
},
"manual": {
"instructions": "instructions",
"userIds": [
"string"
]
},
"unconfigured": {},
"webhook": {
"webhookId": "webhookId"
}
},
"description": "description",
"displayName": "displayName",
"durationGrant": "durationGrant",
"durationUnset": {},
"emergencyGrantEnabled": true,
"emergencyGrantPolicyId": "emergencyGrantPolicyId",
"grantPolicyId": "grantPolicyId",
"isManuallyManaged": true,
"matchBatonId": "matchBatonId",
"overrideAccessRequestsDefaults": true,
"provisionerPolicy": {
"connector": {
"account": {
"config": {
"foo": "bar"
},
"connectorId": "connectorId",
"doNotSave": {},
"saveToVault": {
"vaultIds": [
"string"
]
},
"schemaId": "schemaId"
},
"defaultBehavior": {
"connectorId": "connectorId"
},
"deleteAccount": {
"connectorId": "connectorId"
}
},
"delegated": {
"appId": "appId",
"entitlementId": "entitlementId",
"implicit": true
},
"externalTicket": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"instructions": "instructions"
},
"manual": {
"instructions": "instructions",
"userIds": [
"string"
]
},
"unconfigured": {},
"webhook": {
"webhookId": "webhookId"
}
},
"purpose": "APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED",
"revokePolicyId": "revokePolicyId",
"riskLevelValueId": "riskLevelValueId",
"slug": "slug",
"sourceConnectorIds": {
"foo": "string"
},
"userEditedMask": "userEditedMask"
},
"appPath": "appPath",
"appResourcePath": "appResourcePath",
"appResourceTypePath": "appResourceTypePath"
}
}
],
"nextPageToken": "nextPageToken"
}