Developer Hub
Request Demo
Request Demo
Support
  1. EntityRBAC
  • Getting Started
    • Introduction
  • API Reference
    • Admins
      • Bulk Admins Download API
    • Business Owners
      • Bulk Business Owners Download API
      • Bulk Business Owners Upload API
    • Configuration
      • Bulk Entity Finding Rules Download API
      • Bulk Custom Insights (Entity Rules) Download API
      • Bulk Filters Download API
      • Bulk Findings Download API
      • Get Branding Information
    • Employees
      • Bulk Employees Download API
      • Bulk Employees Upload API
    • Entitlements
      • Bulk Entitlements Download API
      • Bulk Entitlements Upload API
    • Entities
      • Bulk Entities Download API
      • Bulk Entities Upload API
      • Bulk Entities + Entity-Relations Zip Upload API
    • EntityInsights
      • Bulk Entity Insights Download API
    • EntityRelations
      • Bulk Entity Relations Download API
      • Bulk Entity Relations Upload API
    • EntityRBAC
      • Bulk Entity RBAC Download API
        POST
    • Integrations
      • Bulk Integrations Download API
    • Purposes
      • Bulk Purposes Download API
    • Relations
      • Bulk Relations Upload API
    • Requests
      • Bulk Requests Download API
    • Reviews
      • Bulk Reviews Download API
  • Relations
    • Bulk Employee Relations Upload API
      POST
    • Bulk Employee Relations Download API
      POST
  • Schemas
    • Schemas
      • AdminsDownloadURLRequest
      • BusinessOwnersDownloadURLRequest
      • EntitiesDownloadURLRequest
      • EntitiesUploadURLRequest
      • EntitlementDownloadURLRequest
      • EntitlementUploadURLRequest
      • EntityRelationsDownloadURLRequest
      • EntityRelationsUploadURLRequest
      • Error
      • FindingsDownloadURLRequest
      • UploadURLResponse
    • DownloadURLResponse
    • EmployeeRelationsDownloadURLRequest
    • ReviewDownloadURLRequest
    • RequestsDownloadURLRequest
    • EntitiesBulkUploadURLRequest
    • Logo
    • BrandingResponse
  1. EntityRBAC

Bulk Entity RBAC Download API

POST
https://balkanid.app/api/rest/v0/entity-rbac/download-url

BalkanID Entity RBAC Download Zip Format#

In this section, we will explain the BalkanID Entities Zip format. The zip will contain two files: rbac_entities.csv and rbac_entity_relations.csv.

Sample Zip - rbac_entities.csv#

BRNTimestampAppIntegrationNameEntity TypeSource SystemSource IDSource TypeMetadata VersionMetadata
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q02024-04-27 06:33:31 +0000 UTCawsAaron Ellisidentityazure63c16f61-d355-420b-87c6-615785ad8053userv1{"username":"aaron.ellis@itadminbalkan.onmicrosoft.com","lastPasswordChange":"2023-12-14 04:39:56 +0000 UTC","userCreatedDateTime":"2023-12-14 04:39:56 +0000 UTC","jobTitle":"Media Consultant","department":"Media and Pulic Relations"}
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q02024-04-27 06:33:31 +0000 UTCawsAaron Comptonidentityazure63c16f61-d355-420b-87c6-615785ad8053userv1{"username":"aaron.compton@adminbalkan.onmicrosoft.com","lastPasswordChange":"2023-12-14 05:01:10 +0000 UTC","userCreatedDateTime":"2023-12-14 05:01:10 +0000 UTC","jobTitle":"Accountant","department":"Finance"}
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q02024-04-27 06:33:31 +0000 UTCawsAabbott Reeseidentityazure63c16f61-d355-420b-87c6-615785ad8053userv1{"username":"aabbott.reese@balkanit.onmicrosoft.com","lastPasswordChange":"2023-12-14 04:42:12 +0000 UTC","userCreatedDateTime":"2023-12-14 04:42:12 +0000 UTC","jobTitle":"Software Engineer","department":"Engineering"}
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q02024-04-27 06:33:31 +0000 UTCawsAaron Alvaradoidentityazure63c16f61-d355-420b-87c6-615785ad8053userv1{"username":"aaron.alvarado@itadminbalkan.onmicrosoft.com","lastPasswordChange":"2023-12-14 05:02:01 +0000 UTC","userCreatedDateTime":"2023-12-14 05:02:01 +0000 UTC","jobTitle":"Analyst","department":"Operations"}
RBAC Entities Column Definitions#
Column NameColumn Description
BRNBalkan Resource Name
TimestampTimestamp of the entity
AppApplication the Entity is associated with
IntegrationIntegration ID the entity is assoicated with
NameName of the entity
Entity TypeThe type of the entity
Source SystemSource System of the entity
Source IDID of the source system
Source TypeType of the source system
Metadata VersionVersion of the metadata, according to the metadata schema
MetadataMetadata for the entity

Sample Zip - rbac_entity_relations.csv#

AppTimestampIntegrationParent Entity BRNEntity BRNEntity TypeSource System>Metadata VersionMetadata
okta2024-06-13 06:17:04 +0000 UTCokta/01J07X778EK4BH2M2A1VY4HCYFbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:identity:pww8lnoprwDRmRLIOjC9zUbvOmfn5HholuclUQe5QNUbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:connection:-HebVJVI8ca3kmd0FMm9t5hXMmsv4Ygc54hW2u7KQdgconnectionoktav1{"connectionType":"group","privilegeName":"member","privilegeValue":true,"project":"https://your-org.okta.com"}
okta2024-06-13 06:17:04 +0000 UTCokta/01J07X778EK4BH2M2A1VY4HCYFbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:identity:G2byRnP_n1pDW7xjogBKF6Y1JF4c57xdFdKfbmVVsOUbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:connection:w32pXdsNUfaXli5UF8dkDd2VX2re6yQNS_D3uw-Qqa8connectionoktav1{"connectionType":"group","privilegeName":"member","privilegeValue":true,"project":"https://your-org.okta.com"}
okta2024-06-13 06:17:04 +0000 UTCokta/01J07X778EK4BH2M2A1VY4HCYFbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:identity:Ys9cdJadCykeoVYD9wyObNhGMRBiTyz2UZtFl4OHCfobrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:connection:w32pXdsNUfaXli5UF8dkDd2VX2re6yQNS_D3uw-Qqa8connectionoktav1{"connectionType":"group","privilegeName":"member","privilegeValue":true,"project":"https://your-org.okta.com"}
okta2024-06-13 06:17:04 +0000 UTCokta/01J07X778EK4BH2M2A1VY4HCYFbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:identity:DIcLfBZzPVSrxySOaqSyIFEaC3gTIgUf6gN7Dcq5mdwbrn:bid:balkanid:::01J06J6V8JT92BP4RGFDTG5G97:connection:w32pXdsNUfaXli5UF8dkDd2VX2re6yQNS_D3uw-Qqa8connectionoktav1{"connectionType":"group","privilegeName":"member","privilegeValue":true,"project":"https://your-org.okta.com"}
RBAC Entity Relations Column Definitions#
Column NameColumn Description
TimestampTimestamp of the entity relation
AppApplication the Entity Relation is associated with
IntegrationIntegration ID the entity is assoicated with
Parent Entity BRNBRN of the parent entity, must exist in the last synced entities
Entity BRNBRN of the entity, must exist in the last synced entities
Entity TypeThe type of the entity, types: identity, connection, resource
Source SystemSource System of the entity
Metadata VersionVersion of the metadata, according to the metadata schema
MetadataMetadata for the entity

Download the zip file via the pre-signed URL#

After retrieving the pre-signed URL in the previous step, all that remains is to download the zip from the pre-signed URL.
To use the polling URL, first send an HTTP request with the method HEAD to the pollingUrl.
If the response status code is 404, the file is not ready, and you should retry this polling request after a delay.
If the response status code is 200, the file is ready, and you may proceed to download the CSV from the received url.

Request

Authorization
API Key
Add parameter in header
X-API-KEY-ID
Example:
X-API-KEY-ID: ********************
API Key
Add parameter in header
X-API-KEY-SECRET
Example:
X-API-KEY-SECRET: ********************
or
Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://balkanid.app/api/rest/v0/entity-rbac/download-url' \
--header 'X-Api-Key-ID;' \
--header 'X-Api-Key-Secret;' \
--header 'X-API-KEY-ID: <api-key>' \
--header 'X-API-KEY-SECRET: <api-key>' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
download url response
Bodyapplication/json

Example
{
    "url": "string",
    "pollingUrl": "string"
}
⚪defaultServer Error
Modified at 2026-11-06 13:38:07
Previous
Bulk Entity Relations Upload API
Next
Bulk Integrations Download API
Built with