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

workspaceId

string

The workspace id.

invitationId

string

The invitation id.

Request body

role

string

New role for the pending invitation. One of: viewer, editor, admin.

Was this page helpful?