Update API collaborators

PUT {{baseUrl}}/apis/:owner/:api/.collaboration

This operation replaces the current API collaborators and roles with the list provided in the the request body. That is, if you want to add a new collaborator, or change a specific collaborator's role, or delete a specific collaborator, you still need to send the entire list.

You would typically first call GET /apis/{owner}/{api}/.collaborators to get a list of existing collaborators, then modify this list and send it back.

Request Body

{"members"=>[{"name"=>"dolor dolor Duis", "roles"=>["VIEW", "EDIT"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1998-02-04T12:15:19.618Z", "blocked"=>false, "donotdisturb"=>true}, {"name"=>"nulla est", "roles"=>["COMMENT", "VIEW"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1946-12-24T08:41:25.540Z", "blocked"=>false, "donotdisturb"=>false}], "pendingMembers"=>[{"name"=>"occaecat esse deserunt mollit", "roles"=>["EDIT", "VIEW"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1983-11-01T21:21:40.285Z", "blocked"=>false, "donotdisturb"=>true}, {"name"=>"aliqua enim", "roles"=>["VIEW", "COMMENT"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1943-09-27T18:46:25.162Z", "blocked"=>false, "donotdisturb"=>true}], "teams"=>[{"name"=>"Ut cillum", "roles"=>["COMMENT", "EDIT"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1978-12-23T02:53:10.400Z", "blocked"=>false, "donotdisturb"=>true, "members"=>[{"name"=>"amet nulla sit adipisicing pariatur", "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1955-10-08T12:29:01.448Z", "blocked"=>false}, {"name"=>"deserunt dolore", "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"2020-02-07T22:39:03.214Z", "blocked"=>false}]}, {"name"=>"enim esse dolore", "roles"=>["COMMENT", "EDIT"], "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1958-01-18T19:29:41.735Z", "blocked"=>false, "donotdisturb"=>false, "members"=>[{"name"=>"proident nisi Duis", "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1947-09-17T10:05:17.612Z", "blocked"=>false}, {"name"=>"dolor", "uuid"=>"4b9e5015-61e1-442d-9cdd-ddda6b5b014d", "startTime"=>"1949-12-27T15:21:12.513Z", "blocked"=>false}]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

""