Invitations
Update an invitation role
PATCH
/v1/workspaces/{workspaceId}/invitations/{invitationId}Changes the role on a pending invitation. Requires an admin key.
Authentication
Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.
Authorization: Bearer <SPARK_API_KEY>Path parameters
workspaceIdstring
The workspace id.
invitationIdstring
The invitation id.
Request body
rolestring
New role for the pending invitation. One of: viewer, editor, admin.