Magidoc

denyAssignment
Mutation

Reject a pending project assignment; the counterpart to approveAssignment. Pass the project-level assignment's id. The pending assignment and the user's pending todo assignments in that project are deleted, and the inviter is notified by email.

The caller must be a project admin or workspace admin on the project. Returns true on success; calling it on an already-active assignment or a todo-level assignment returns an unprocessable_entity error.

Arguments

#

id

Non-null

Project-level assignment id.

Response

#

Returns Boolean .

Example

#