Skip to navigation

Set Event Hosts

Replace who may run the event, both lists at once. Needs events:write. A signed-in caller who is neither an app admin of Dory nor the event’s creator may not leave themselves unable to run it (would_lock_out): they must stay named, or stay on a listed team (or a team inside one). Empty lists open the event to everyone.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

eventIdstringRequired

Request

This endpoint expects an object.
userIdslist of stringsRequired
Members of the workspace. Unknown ids are a 422.
teamIdslist of stringsRequired
Teams of the workspace. Unknown ids are a 422.

Response

This endpoint returns an object.
userslist of objects
teamslist of objects
Everyone on a team, and on any team inside it, may run the event.

Errors

403
Forbidden Error
404
Not Found Error
422
Validation Error
429
Too Many Requests Error