PATCH
/
api
/
v1
/
user_roles
/
{id}
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "id": 123,
  "role": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "name": "<string>",
    "namePlural": "<string>",
    "unitType": "https://example.com/",
    "position": 123,
    "isUserType": true,
    "options": [
      "<string>"
    ],
    "isLocalCenter": true,
    "isLocalCenterParent": true,
    "isNational": true,
    "permissions": [
      "<string>"
    ],
    "chartName": "<string>"
  },
  "user": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "jsmith@example.com",
    "status": "<string>",
    "type": {
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "id": 123,
      "name": "<string>",
      "namePlural": "<string>",
      "unitType": "https://example.com/",
      "position": 123,
      "isUserType": true,
      "options": [
        "<string>"
      ],
      "isLocalCenter": true,
      "isLocalCenterParent": true,
      "isNational": true,
      "permissions": [
        "<string>"
      ],
      "chartName": "<string>"
    },
    "age": 123,
    "fullName": "<string>",
    "logo": "<string>",
    "phoneNumber": "<string>",
    "cardId": "<string>",
    "feeTenantProductPrice": "https://example.com/",
    "postalCode": "<string>",
    "address": "<string>",
    "professionOrganisation": "<string>",
    "professionOrganisationRole": "<string>",
    "companyIdentifier": "<string>",
    "companyName": "<string>",
    "companyAddress": "<string>",
    "companyRegNo": "<string>"
  },
  "unit": "https://example.com/",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateEnded": "2023-11-07T05:31:56Z",
  "isAdmin": true
}

Path Parameters

id
string
required

UserRole identifier

Body

application/merge-patch+json

The updated UserRole resource

Response

200
application/ld+json

UserRole resource updated