Skip to main content

Patch a Non-Employee Source

PATCH 

/non-employee-sources/:sourceId

patch a non-employee source. (partial update)
Patchable field: name, description, approvers, accountManagers Requires role context of idn:nesr:update.

Request

Path Parameters

    sourceId stringrequired

    Source Id

    Example: e136567de87e4d029e60b3c3c55db56d

Body

arrayrequired

A list of non-employee source update operations according to the JSON Patch standard.

  • Array [
  • op stringrequired

    Possible values: [add, remove, replace, move, copy, test]

    The operation to be performed

    path stringrequired

    A string JSON Pointer representing the target path to an element to be affected by the operation

    value object

    The value to be used for the operation, required for "add" and "replace" operations

    oneOf

    string

  • ]

Responses

A patched non-employee source object.

Schema
    id UUID

    Non-Employee source id.

    sourceId string

    Source Id associated with this non-employee source.

    name string

    Source name associated with this non-employee source.

    description string

    Source description associated with this non-employee source.

    approvers object[]

    List of approvers

  • Array [
  • type NonEmployeeIdentityDtoType

    Possible values: [GOVERNANCE_GROUP, IDENTITY]

    Identifies if the identity is a normal identity or a governance group

    id string

    Identity id

  • ]
  • accountManagers object[]

    List of account managers

  • Array [
  • type NonEmployeeIdentityDtoType

    Possible values: [GOVERNANCE_GROUP, IDENTITY]

    Identifies if the identity is a normal identity or a governance group

    id string

    Identity id

  • ]
  • modified date-time

    When the request was last modified.

    created date-time

    When the request was created.

Loading...