Skip to main content

Patch Non-Employee Record

PATCH 

/non-employee-records/:id

This request will patch a non-employee record.

Request

Path Parameters

    id stringrequired

    Non-employee record id (UUID)

    Example: 2c91808b6ef1d43e016efba0ce470904

Body

array

required

A list of non-employee update operations according to the JSON Patch standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.

  • 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 record.

Schema

    id UUID

    Non-Employee record id.

    accountName string

    Requested identity account name.

    firstName string

    Non-Employee's first name.

    lastName string

    Non-Employee's last name.

    email string

    Non-Employee's email.

    phone string

    Non-Employee's phone.

    manager string

    The account ID of a valid identity to serve as this non-employee's manager.

    sourceId string

    Non-Employee's source id.

    data

    object

    Additional attributes for a non-employee. Up to 10 custom attributes can be added.

    property name* string
    startDate date-time

    Non-Employee employment start date.

    endDate date-time

    Non-Employee employment end date.

    modified date-time

    When the request was last modified.

    created date-time

    When the request was created.

Loading...