Theme

Users

Create or update a User's Worker Document

POST https://cirro.io/api/v2/users/:id/worker

Parameters

ParameterTypeNote
documentrequiredobjectInvitation related attributes of a worker

Description

Returns a User object with the updated worker document if the request was successful.

Example

1client = CirroIOV2::Client.new(...)
2params = {
3  "document": {
4    "age": "30",
5    "foo": {
6      "bar": 30
7    }
8  }
9}
10client.User.worker(1, params)
Previous
Create Invitation Attempt