post
https://Use API Lookup for a base URL/user//authorization/share/permissions
Share permissions to a user.
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- 400200 - Received invalid data. See 'errorFields' for more information.
- errorFields.errorCode 400240 - Invalid email
- errorFields.errorCode 400297 - Unsupported roles.name
- errorFields.errorCode 400203 - Invalid action
- errorFields.errorCode 400288 - Invalid resource. Invalid HERE Resource Name format
- errorFields.errorCode 400294 - Invalid effect. Valid values are allow and deny
- 400322 - Not enough privileges for the requesting client to share the requested resources
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- 404600 - Authorization record is not found
422A defined system limit would be violated if this action was completed.
Example: 'MaxPermissionsPerEntity limit reached. Current value: 1000. Maximum value: 1000'
- 422000 - LimitReached