You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.json
+75Lines changed: 75 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2226,6 +2226,34 @@
2226
2226
}
2227
2227
}
2228
2228
},
2229
+
"/v1/organizations": {
2230
+
"get": {
2231
+
"operationId": "listOrganizations",
2232
+
"summary": "List organizations",
2233
+
"description": "Lists the organizations visible to the caller's credential. An organization-scoped API key (pbo_) returns exactly the organization it belongs to. A user credential (account-scoped API key or dashboard session token) returns the organizations the user is a member of, including the caller's role in each.",
2234
+
"tags": [
2235
+
"Account"
2236
+
],
2237
+
"responses": {
2238
+
"200": {
2239
+
"description": "Organizations visible to the caller.",
"description": "An organization visible to the caller's credential.",
6768
+
"required": [
6769
+
"id",
6770
+
"name",
6771
+
"slug"
6772
+
],
6773
+
"properties": {
6774
+
"id": {
6775
+
"type": "string",
6776
+
"description": "Organization identifier.",
6777
+
"example": "org_abc123"
6778
+
},
6779
+
"name": {
6780
+
"type": "string",
6781
+
"description": "Organization display name.",
6782
+
"example": "Acme Corp"
6783
+
},
6784
+
"slug": {
6785
+
"type": "string",
6786
+
"description": "Organization slug used in URLs and routing.",
6787
+
"example": "acme-corp"
6788
+
},
6789
+
"role": {
6790
+
"type": "string",
6791
+
"description": "The caller's role within the organization. Omitted for organization-scoped API keys, which act as the organization itself rather than as a member.",
6792
+
"example": "owner"
6793
+
}
6794
+
}
6795
+
},
6796
+
"ListOrganizationsResponse": {
6797
+
"type": "object",
6798
+
"description": "Organizations visible to the caller's credential.",
6799
+
"required": [
6800
+
"organizations"
6801
+
],
6802
+
"properties": {
6803
+
"organizations": {
6804
+
"type": "array",
6805
+
"description": "Organizations the caller can access.",
"description": "A single likely-PII column detected by the scanner, with a recommended masking rule. Suggestions are advisory only — nothing is applied until the operator reviews and adds it to a policy profile.",
0 commit comments