Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceAccount and accessAccount

Decline a pending org invite (session only)

Deletes the pending invite to the given organization addressed to the session's email, without joining. Returns 204 whether or not an invite existed.

Required permission

Requires the self.update permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl account invite decline
POST
/v1/me/invites/{orgId}/decline

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

orgId*string

Response Body

Declined (idempotent)

Example Request
curl -X POST 'https://api.openrelay.inc/v1/me/invites/string/decline'
Example Response
Empty