The POST /environments/{{envID}}/applications/{{appID}}/grants operation creates a new resource access grant for the application.

The body of the request specifies the ID for the resource property (your new custom resource) and the ID for the scope (your new custom scope) that you assign to the application’s resource grant.

The response data shows the resource grant ID and the scope associated with the grant.