Skip to content

Assign user to role

POST
/site-role/{role_type}/user_id/{user_id}
curl --request POST \
--url https://your-candig-domain/ingest/site-role/example/user_id/example

Assign user to role

role_type
required
string

Defined site roles for this CanDIG node. By default, admin and curator are defined.

user_id
required
string

Success

Media typeapplication/json
Array<string>
Examplegenerated
[
"example"
]