API reference: Callbacks from your resources
Called by your own resources to tell Determesh about access and verification. A key with the Resources section and manage on the resource named.
POST /v1/access/evict
Body (application/json): EvictRequest
Answers 204.
POST /v1/access/grant
Body (application/json): GrantRequest
Answers 204.
POST /v1/access/verified
Body (application/json): VerifiedRequest
Answers 200 with object.
Types
EvictRequest
| Field | Type | Required | Notes |
|---|---|---|---|
resourceId |
string (uuid) | yes | |
identityId |
string (uuid) |
GrantRequest
| Field | Type | Required | Notes |
|---|---|---|---|
resourceId |
string (uuid) | yes | |
identityId |
string (uuid) | yes | |
allowed |
boolean | yes |
VerifiedRequest
| Field | Type | Required | Notes |
|---|---|---|---|
resourceId |
string (uuid) | yes | |
identityId |
string (uuid) | yes | |
channel |
API | TELEGRAM | EMAIL | WIDGET |
yes | |
externalId |
string | yes |