Authentication
RequiresAuthorization: Basic {base64_encoded_api_key} and x-account-id: {account_id}. See authentication.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The StackOne ID of the organization |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fields | string | No | Comma-separated list of fields to include |
raw | boolean | No | Include the raw provider response |
Response
Returns a singleIamOrganization object.
| Field | Type | Description |
|---|---|---|
id | string | StackOne unique identifier |
remote_id | string | Provider’s unique identifier |
name | string | Organization name |
created_at | string (ISO 8601) | When the organization was created |
updated_at | string (ISO 8601) | When the organization was last updated |
Example
- cURL
- TypeScript
- Python
Example Response
Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized — invalid or missing API key |
| 404 | Organization not found |
| 422 | Provider does not support this endpoint |