Thanks for the reply and helpful suggestion. I feel I am missing something since using the API I responses but don’t see anything that helps me sort out the authorization status.
For example if I query the buckets endpoint using the read-only authorization token I get the reply:
{
"links": {
"self": "/api/v2/buckets?descending=false\u0026limit=20\u0026offset=0\u0026orgID=60004cfffb06fbde"
},
"buckets": [
{
"id": "ae411a5dd1aa8427",
"orgID": "60004cfffb06fbde",
"type": "user",
"schemaType": "implicit",
"name": "read-only-test",
"retentionRules": [],
"storageType": "tsm",
"createdAt": "2023-03-20T18:26:03.151792585Z",
"updatedAt": "2023-03-20T18:26:03.151792785Z",
"links": {
"labels": "/api/v2/buckets/ae411a5dd1aa8427/labels",
"members": "/api/v2/buckets/ae411a5dd1aa8427/members",
"org": "/api/v2/orgs/60004cfffb06fbde",
"owners": "/api/v2/buckets/ae411a5dd1aa8427/owners",
"self": "/api/v2/buckets/ae411a5dd1aa8427",
"write": "/api/v2/write?org=60004cfffb06fbde\u0026bucket=ae411a5dd1aa8427"
},
"labels": []
}
]
}
which is the same as get from a bucket with a read-write authorization token:
{
"links": {
"self": "/api/v2/buckets?descending=false\u0026limit=20\u0026offset=0\u0026orgID=60004cfffb06fbde"
},
"buckets": [
{
"id": "f9a57e3fdbb82e03",
"orgID": "60004cfffb06fbde",
"type": "user",
"schemaType": "implicit",
"name": "read-write-bucket",
"retentionRules": [],
"storageType": "tsm",
"createdAt": "2023-03-20T19:41:35.909674051Z",
"updatedAt": "2023-03-20T19:41:35.909674151Z",
"links": {
"labels": "/api/v2/buckets/f9a57e3fdbb82e03/labels",
"members": "/api/v2/buckets/f9a57e3fdbb82e03/members",
"org": "/api/v2/orgs/60004cfffb06fbde",
"owners": "/api/v2/buckets/f9a57e3fdbb82e03/owners",
"self": "/api/v2/buckets/f9a57e3fdbb82e03",
"write": "/api/v2/write?org=60004cfffb06fbde\u0026bucket=f9a57e3fdbb82e03"
},
"labels": []
}
]
}
I did the same with the authorization end points and don’t see anything there either:
{
"links": {
"self": "/api/v2/authorizations"
},
"authorizations": []
}
Am I missing something else that I should be doing? Thanks for all your help.