Skip to main content
POST
/
damc
/
workers
/
collective
/
add-workers
cURL
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/damc/workers/collective/add-workers/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ownerWallet": "<string>",
  "collectiveAddress": "<string>",
  "workers": "<array>"
}
'

Authorizations

x-api-key
string
header
required

Body

application/json

Add new workers to a existent request payload

ownerWallet
string
required

The address of the asset owner

collectiveAddress
string
required

Address of the collective to be added to the asset

workers
array
required

The list of workers to be added to the collective

Response

200 - application/json

Workers added successfully