On-Call User Group

Update On-Call User Group

Endpoint to update an existing On-Call User Group

put/workspace-user-group/{id}

Request

Path parameters

idstring uuid required

ID of the On-Call User Group to update

Request body

Example request

{
  "data": {
    "onCallDutyPolicySchedules": [
      {
        "_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      },
      {
        "_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
      }
    ]
  }
}

Response

Updated successfully

Example response

{
  "data": {
    "_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "createdAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "updatedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "deletedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "project": {
      "_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
    },
    "projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "workspaceType": "Example Text",
    "workspaceGroupId": "This is an example of longer text content that provides detailed information.",
    "workspaceTeamId": "Example Text",
    "name": "Example Text",
    "handle": "Example Text",
    "onCallDutyPolicySchedules": [
      {
        "_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
      },
      {
        "_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
      }
    ],
    "syncState": {
      "key": "value",
      "nested": {
        "data": 123
      }
    },
    "syncedAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "nextSyncAt": {
      "_type": "DateTime",
      "value": "2023-10-01T12:00:00Z"
    },
    "createdByUser": {
      "_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
    },
    "createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.