For the complete documentation index, see llms.txt. This page is also available as Markdown.

Access

Bulk load accesses

post

Bulk loads access records from the provided payload, returning the number of inserted records, any invalid changesets, and any inexistent external IDs.

Body
Responses
200

Accesses bulk loaded

application/json
post/api/accesses/bulk_load
POST /api/accesses/bulk_load HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 110

{
  "accesses": [
    {
      "principal_id": "user@example.com",
      "principal_type": "user",
      "resource_external_id": "resource_1"
    }
  ]
}
{
  "data": {
    "inexistent_external_ids": [
      "resource_999"
    ],
    "inserted_count": 2,
    "invalid_changesets": [
      {
        "data": {},
        "error": "Invalid principal_type"
      }
    ]
  }
}

Last updated