API docs / API reference / Portal logins
Decline an access request
POST /v1/portal/requests/{request_id}/decline
Nobody is emailed.
Path parameters
| request_id required string | — |
Send an Idempotency-Key header to make a retry safe: the same key within 24 hours returns the first answer and is never charged twice.
Request
curl -X POST "https://amarkos.com/api/v1/portal/requests/{request_id}/decline" \
-H "Authorization: Bearer $AMARKOS_KEY"Response · 200
{
"id": "pr_1a2b3c4d5e6f47a8b9c0d1e2f3a4b5c6",
"status": "declined"
}