Skip to main content
PATCH
Accept or decline an invitation

Authorizations

Authorization
string
header
required

Session token as Authorization: Bearer (the CLI and scripts).

Path Parameters

id
string
required
action
enum<string>
required

accept joins with the invited role; decline closes the invitation

Available options:
accept,
decline
Example:

"accept"

Response

Joined

organization
object
required
role
string
required
workspace
object | null
required