clients

Add new access rights for selected service client. If service client did not exist yet, one is created.

<h3>Adds access rights to the service client.</h3>
post/clients/{id}/service-clients/{sc_id}/access-rights

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/clients/{id}/service-clients/{sc_id}/access-rights
  • Auth: API key in header Authorization

Path parameters

idstring text required

id of the client who owns the services

sc_idstring text required

id of the service client

Request body

Example request

{
  "items": [
    {
      "service_code": "clientDeletion",
      "service_title": "client deletion",
      "rights_given_at": "2018-12-15T00:00:00.001Z"
    }
  ]
}

Response

access right that was added

service_codestring text required

service code

service_titlestring text

service title

rights_given_atstring date-time

access right given at

Example response

[
  {
    "service_code": "clientDeletion",
    "service_title": "client deletion",
    "rights_given_at": "2018-12-15T00:00:00.001Z"
  }
]

Changes

No recorded changes to this operation across all 50 revisions of this API.