ObjectsGrid
  • Documentation
    • Core Concepts
    • Usage Guide
      • Quick Start
      • Authentication and Authorization
      • Access Control via ABAC
      • GraphQL API Examples
      • Login with Google app setup
      • Objects Schemas
    • OBJECTS GRID Objects
      • Generic Object
        • GenericObjects REST API
      • Enum Object
        • Enum Object REST API
      • ProductCatalog Object
      • ProductGroup Object
      • Product Object
      • Brand Object
        • Brands REST API
      • Language-Tagged String
      • Tags Object
      • Meta Object
    • Private Objects
      • Auth
        • Tokens REST API
      • ABAC Policy
        • ABACPolicies REST API
      • Organization Account
        • OrganizationAccounts REST API
      • User Account
        • UserAccounts REST API
      • Service Account
        • ServiceAccounts REST API
      • Access Logging
        • AccessLogEntries REST API
  • Support
    • Terms and Conditions
  • Blogs
    • Attribute Based Access Control
    • ABAC vs RBAC
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Private Objects
  3. Organization Account

OrganizationAccounts REST API

Organization Accounts REST API documentation and interactive testing.

PreviousOrganization AccountNextUser Account

Last updated 1 month ago

Was this helpful?

For the document use this link:

To get a Google JWT ID Token you can use our test app for now: You'll need it in the Authorizations header in the Create Organization Account request below.


OpenAPI Specification
https://apis.objectsgrid.com/organizationaccounts/contract
https://admin.objectsgrid.com/google_token.html

Get an organization account

get
Authorizations
Path parameters
orgacctidstringRequired

ID of the organization account to retrieve

Header parameters
X-ObjectsGrid-AccessPointstring · enumRequired

EU for European Union, or US for United States, depending on where your data is located

Possible values:
Responses
200
Successfully retrieved the organization account
application/json
400
Bad request
application/json
401
Unauthorized
application/json
404
Organization account not found
application/json
427
Too Many Requests
application/json
500
Internal server error
application/json
get
GET /organizationaccounts/{orgacctid} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*
{
  "id": "text",
  "name": "text",
  "description": "text",
  "countryCode": "text",
  "commerceCode": "text",
  "ownerID": "text",
  "accessPoint": "text",
  "monthlyQuota": 1,
  "tags": [
    {
      "name": "text",
      "val": "text"
    }
  ],
  "meta": {
    "objectVersion": 1,
    "objectType": "text",
    "namespace": "text",
    "createdAt": "2025-05-28T20:29:32.052Z",
    "createdBy": "text",
    "lastUpdatedAt": "2025-05-28T20:29:32.052Z",
    "lastUpdatedBy": "text",
    "lastUpdateCorrelationID": "text"
  }
}

Delete an organization account

delete
Authorizations
Path parameters
orgacctidstringRequired

ID of the organization account to delete

Header parameters
X-ObjectsGrid-AccessPointstring · enumRequired

EU for European Union, or US for United States, depending on where your data is located

Possible values:
Responses
200
Successfully deleted the organization account
400
Bad request
application/json
401
Unauthorized
application/json
404
Organization account not found
application/json
427
Too Many Requests
application/json
500
Internal server error
application/json
delete
DELETE /organizationaccounts/{orgacctid} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Accept: */*

No content

  • POSTCreate a new organization account
  • GETGet an organization account
  • PUTUpdate an organization account
  • DELETEDelete an organization account

Create a new organization account

post
Authorizations
Header parameters
X-ObjectsGrid-AccessPointstring · enumRequired

EU for European Union, or US for United States, depending on where you need to locate your data

Possible values:
Body
namestringRequired
descriptionstringOptional
countryCodestringOptional
commerceCodestringOptional
monthlyQuotaintegerOptional
Responses
201
Successfully created the organization account
application/json
400
Bad request
application/json
401
Unauthorized
application/json
427
Too Many Requests
application/json
500
Internal server error
application/json
post
POST /organizationaccounts HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Content-Type: application/json
Accept: */*
Content-Length: 134

{
  "name": "text",
  "description": "text",
  "countryCode": "text",
  "commerceCode": "text",
  "monthlyQuota": 1,
  "tags": [
    {
      "name": "text",
      "val": "text"
    }
  ]
}
{
  "id": "text",
  "name": "text",
  "description": "text",
  "countryCode": "text",
  "commerceCode": "text",
  "ownerID": "text",
  "accessPoint": "text",
  "monthlyQuota": 1,
  "tags": [
    {
      "name": "text",
      "val": "text"
    }
  ],
  "meta": {
    "objectVersion": 1,
    "objectType": "text",
    "namespace": "text",
    "createdAt": "2025-05-28T20:29:32.052Z",
    "createdBy": "text",
    "lastUpdatedAt": "2025-05-28T20:29:32.052Z",
    "lastUpdatedBy": "text",
    "lastUpdateCorrelationID": "text"
  }
}

Update an organization account

put
Authorizations
Path parameters
orgacctidstringRequired

ID of the organization account to update

Header parameters
X-ObjectsGrid-AccessPointstring · enumRequired

EU for European Union, or US for United States, depending on where your data is located

Possible values:
Body
idstringOptional
namestringRequired
descriptionstringOptional
countryCodestringOptional
commerceCodestringOptional
ownerIDstringOptional
accessPointstringOptional
monthlyQuotaintegerOptional
Responses
200
Successfully updated the organization account
application/json
400
Bad request
application/json
401
Unauthorized
application/json
404
Organization account not found
application/json
427
Too Many Requests
application/json
500
Internal server error
application/json
put
PUT /organizationaccounts/{orgacctid} HTTP/1.1
Host: apis.objectsgrid.com
Authorization: Bearer JWT
X-ObjectsGrid-AccessPoint: EU
Content-Type: application/json
Accept: */*
Content-Length: 407

{
  "id": "text",
  "name": "text",
  "description": "text",
  "countryCode": "text",
  "commerceCode": "text",
  "ownerID": "text",
  "accessPoint": "text",
  "monthlyQuota": 1,
  "tags": [
    {
      "name": "text",
      "val": "text"
    }
  ],
  "meta": {
    "objectVersion": 1,
    "objectType": "text",
    "namespace": "text",
    "createdAt": "2025-05-28T20:29:32.052Z",
    "createdBy": "text",
    "lastUpdatedAt": "2025-05-28T20:29:32.052Z",
    "lastUpdatedBy": "text",
    "lastUpdateCorrelationID": "text"
  }
}
{
  "id": "text",
  "name": "text",
  "description": "text",
  "countryCode": "text",
  "commerceCode": "text",
  "ownerID": "text",
  "accessPoint": "text",
  "monthlyQuota": 1,
  "tags": [
    {
      "name": "text",
      "val": "text"
    }
  ],
  "meta": {
    "objectVersion": 1,
    "objectType": "text",
    "namespace": "text",
    "createdAt": "2025-05-28T20:29:32.052Z",
    "createdBy": "text",
    "lastUpdatedAt": "2025-05-28T20:29:32.052Z",
    "lastUpdatedBy": "text",
    "lastUpdateCorrelationID": "text"
  }
}