PUT object-user-rights/{id}

Updates an existing object user right.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier of the object user right.

string

Required

Body Parameters

The model containing the information to update an object user right.

ObjectUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedObject

BaseViewModel

Includable

Settable

RelatedUser

BaseViewModel

Includable

Settable

RelatedRights

Collection of BaseViewModel

Includable

Settable

SelfUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "relatedObject": {
    "selfUrl": "sample string 1"
  },
  "relatedUser": {
    "selfUrl": "sample string 1"
  },
  "relatedRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 2"
}

Response Information

Resource Description

ObjectUserRightViewModel
NameDescriptionTypeAdditional information
Id

string

None.

RelatedObject

BaseViewModel

Includable

Settable

RelatedUser

BaseViewModel

Includable

Settable

RelatedRights

Collection of BaseViewModel

Includable

Settable

SelfUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "relatedObject": {
    "selfUrl": "sample string 1"
  },
  "relatedUser": {
    "selfUrl": "sample string 1"
  },
  "relatedRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 2"
}