Skip to Content
Xeonr Developer Docs

Enable service account for bucket type

POST
/uplim.api.v1.IntegrationAdminService/EnableBucketTypeServiceAccount

Auto-provisions a service account for this bucket type. Returns the token (shown once).

Required scopes: upl:private

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketTypeId?string
Formatuuid
permission?string

Permission level for the service account on new buckets: read, write, admin

Length1 <= length <= 16
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/EnableBucketTypeServiceAccount" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "token": "xsa_EXAMPLE_SERVICE_ACCOUNT_TOKEN",
  "bucketType": "map[createdAt:2026-09-14T11:02:00Z description:A bucket laid out as a Markdown notes vault. displayName:Notes vault iconUploadId:1f2e3d4c-5b6a-4978-8695-a4b3c2d1e0f9 id:7e6d5c4b-3a2f-4e1d-9c8b-7a6f5e4d3c2b integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f renderer:map[archiveUploadId:4d3c2b1a-0f9e-4d8c-b7a6-5e4d3c2b1a0f enabled:true entryPath:index.html] serviceAccountId:urn:xeonr:auth:uid:service_account:9 serviceAccountPermission:write slug:notes-vault updatedAt:2026-10-22T09:30:00Z]"
}