Admin/Resolve contact access (approve or reject)
PUT /v1/admin/contacts/{contact_id}/accesses/{id}

Resolve contact access (approve or reject)

Updates a pending row to `approved` or `rejected`. Resolver and timestamps are set server-side.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/contacts/{contact_id}/accesses/{id} \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "access": {
         "status": "approved"
       }
     }'

Parameters

x-workspace-code string required in header
x-csrf-token string required in header
contact_id string required in path
id string required in path

Response

access▾
object Single row (create/update response). Omits `contact_id` because the contact is identified by the path (`POST|PUT .../contacts/{contact_id}/accesses/...`).
id
string
workspace_id
string
grantee_type
string
grantee_id
string
status
string
resolver_id
any
resolved_at
any
description
string | null
created_at
string
updated_at
string
requested_at
string