Bulk Labels Upload API (Early Access)
POST
https://app.balkan.id/api/rest/v0/labels/upload-url
Configuration
BalkanID Labels Upload CSV Format
Sample CSV
ID | Name* | Icon | Color | Status | Background Color | Text Color | Light Background Color | Light Text Color | Dark Background Color | Dark Text Color | Type* |
---|---|---|---|---|---|---|---|---|---|---|---|
01H9VNFTZD1T44TCSKGEBWNTZD | Engineering | https://example.com/icons/engineering.svg | secondary | #FFFFFF | #000000 | #FFFFFF | #000000 | #FFFFFF | #000000 | entitlement | |
02H9VNFTZD1T44TCSKGEBWNTZD | Privileged | https://example.com/icons/privileged.svg | secondary | deleted | #FFFFFF | #000000 | #FFFFFF | #000000 | #FFFFFF | #000000 | entitlement |
SoD | employee |
associated with the ID "01X12A" and other columns, i.e., Icon and Color
delete the label associated with the ID "01X13S"
Label 1"
Column Definitions
Column Name | Column Description |
---|---|
ID | ID of the label if already exists. It should be used to update. |
Name | The name of the label. It appears in the applications. |
Icon | The icon of the label. It appears in the applications. |
Color | The color of the label. ex: "primary","secondary" |
Status | The status of the label. Takes "deleted" for now. If deleted, it deletes the label |
Background Color | The background color of the label. It appears in the applications. |
Text Color | The text color of the label. It appears in the applications. |
Light Background Color | The light background color of the label. It appears in the applications. |
Light Text Color | The light text color of the label. It appears in the applications. |
Dark Background Color | The dark background color of the label. It appears in the applications. |
Dark Text Color | The dark text color of the label. It appears in the applications. |
Type | The type of the label, used to identify the type of the label. Currently, it only supports "entitlement" and "employee" |
Upload the CSV file via the pre-signed URL
is to upload the CSV in BalkanID Labels CSV format to the pre-signed URL.
curl
:
PUT
.format.
Request
Header Params
X-Api-Key-ID
string
optional
X-Api-Key-Secret
string
optional
Content-Type
string
optional
Default:
application/json