Access
PreviewSupport access to the organization
The access the Owner gave Wardn staff to read the organization, if it is still active, and the last twenty
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The active grant and the ended ones.
application/json- response
current*|The active grant, or null.
past*array<>The last twenty grants that ended, newest first.
curl -X GET 'https://wardn.example.com/api/v1/organization/support-access'Example Response
{ "current": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "grantedBy": { "id": "string", "name": "string" }, "grantedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "hours": 1, "note": "string", "openedAt": "2019-08-24T14:15:22Z", "openedBy": { "id": "string", "name": "string" }, "revokedAt": "2019-08-24T14:15:22Z", "endedBy": "string" }, "past": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "grantedBy": { "id": "string", "name": "string" }, "grantedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "hours": 1, "note": "string", "openedAt": "2019-08-24T14:15:22Z", "openedBy": { "id": "string", "name": "string" }, "revokedAt": "2019-08-24T14:15:22Z", "endedBy": "string" } ]}Send a test entry to a destination POST
Sends one entry that says it is a test (`test: true`, seq 0) to the destination once, now, and answers whether it
Let Wardn staff read the organization POST
Starts a read-only view for staff that lasts 1 to 72 hours (400 `support_access.hours_invalid`). The note, at