Skip to main content

Create Access rule Entity

Create Access rule Entity. It describes access rules which can be attached to identifiers.

Request Body required
  • name string required

    Possible values: <= 100 characters

    Name of access rule entity

  • description string required

    Possible values: <= 255 characters

    Description of access rule entity

  • settings object[] required

    Describes relations the reader-to-relay relationship for the access rule entity

  • reader string required

    Unique reader identifier

  • relays integer[] required

    Set of relays

Responses

The id value returned in the response can be used as the access-rule-id parameter in:

  • GET /access/access-rules/{access-rule-id}
  • to get info about access rule
  • PATH /access/access-rules/{access-rule-id}
  • to update access rule
  • DELETE /access/access-rules/{access-rule-id}
  • to remove access rule
  • POST /access/identifiers/{identifier-id}/access-rules/{access-rule-id}
  • to attach access rule to identifier with id identifier-id
  • DELETE /access/identifiers/{identifier-id}/access-rules/{access-rule-id}
  • to detach access rule from identifier with id identifier-id

Schema
  • id integer

    Possible values: >= -1

    UID for entities references. If value is -1, then it means that is no entity reference for this structure

Loading...