GuidesAPI Reference
API Reference

Share permissions to a user

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}
Path Params
string
required

The user identifier

Body Params
permissions
array of objects
required

List of permissions.

permissions*
Responses

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
422

A defined system limit would be violated if this action was completed.

Example: 'MaxPermissionsPerEntity limit reached. Current value: 1000. Maximum value: 1000'

  • 422000 - LimitReached

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json