GuidesAPI Reference
API Reference

Share permissions to a group

Share permissions to a group.
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 group identifier

Body Params
permissions
array of objects
required

List of permissions.

permissions*
Responses

400
  • 400299: Invalid permission format.
  • 404610: No service descriptor record exists for given Id.
  • 400284: Contract of the requested permission does not belong to the customer of the group.
  • 400407: Permission request may only contain either contractId or serviceId, but not both.
  • 400294: Illegal effect. Valid values are allow and deny.
  • 400288: Invalid HERE Resource name format.
  • 400406: Permission does not comply with the rules in permission descriptor of the service of the contract.
401
  • 401420 - Not enough privileges to add or remove permissions.
  • 401415 - Not enough privileges to add or remove permissions.
  • 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

An error has occurred.

  • 404780: No authorization group exists with the given Id.
  • 404700: No contract exists with the given Id.
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