The POST /environments/{environmentId}/applications/{applicationId}/grants operation creates a resource access grant for the application specified by its ID in the request URL.

The body of the request specifies the ID for the custom resouece and the ID for the custom scope.