post
https://Use API Lookup for a base URL/app//authorization/share/permissions
Share permissions to an application.
This API works only with tokens that are not scoped to a project.
Access Control:
- Requires the calling principal to have the following permission:
- action: share
- serviceId: authorization
- resource: {resourceHrn}
400- 400299 - Invalid permission format
- 400322 - Not enough privileges for the requesting client to share the requested resources
- 400409 - Service definition requires Contract Id to be provided
- 404610 - No service descriptor record exists for given Id
- 404700 - No contract exists with the given Id
401- 401420 - Not enough privileges for the requesting client to share the requested resources
403- 403102 - Sharing is not enabled
- 403103 - This action cannot be shared
404- 404660 - No app exists with that given id
422A defined system limit would be violated if this action was completed.
Example: 'MaxPermissionsPerEntity limit reached. Current value: 1000. Maximum value: 1000'
- 422000 - LimitReached