Users

Update Group Managers

Required scopes: group (Read and Write).

patch/groups/{groupId}/managers

Request

Path parameters

groupIdinteger required

Group Identifier. Get via List Groups

Request body

op'remove' | 'add' required

Patch operation to perform

Example request

[
  {
    "op": "add",
    "path": "/-",
    "value": {
      "userId": 18
    }
  },
  {
    "op": "remove",
    "path": "/24"
  }
]

Response

Group Managers List

Example response

{
  "data": [
    {
      "data": {
        "id": 27,
        "user": {
          "id": 12,
          "username": "john_smith",
          "firstName": "John",
          "lastName": "Smith",
          "fields": {
            "some-field-1": "some value 1",
            "some-field-2": 12,
            "some-field-3": true,
            "some-field-4": [
              "en",
              "ja"
            ]
          },
          "isAdmin": true,
          "status": "active",
          "createdAt": "2019-07-11T07:40:22+00:00",
          "lastSeen": "2019-10-23T11:44:02+00:00"
        },
        "teams": [
          {
            "id": 2,
            "name": "Translators Team",
            "totalMembers": 8,
            "webUrl": "https://example.crowdin.com/u/teams/1",
            "createdAt": "2019-09-23T09:04:29+00:00",
            "updatedAt": "2019-09-23T09:04:29+00:00"
          }
        ]
      }
    }
  ]
}

Changes

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