Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/corestack:corestack-user-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Corestack User Groups API
version: 1.0.0
license:
name: CoreStack Inc License
url: http://corestack.io/licenses/LICENSE-2.0.html
termsOfService: http://corestack.io/
description: 'Operations tagged UserGroups across 2 of this provider''s published API definitions: corestack-external-api-openapi-original.json, corestack-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: User Groups
description: User Group Management
paths:
/v1/master_accounts/{master_account_id}/user_groups:
parameters:
- name: master_account_id
in: path
required: true
schema:
type: string
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/MasterAccountUserGroupSummary'
summary: User Group List By Master Account
operationId: UserGroupListByMasterAccount
security:
- auth_token: []
tags:
- User Groups
servers:
- url: /
/v2/user_groups:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'201':
description: Created
content:
application/json:
schema:
type: string
x-cs-type: ObjectId
summary: Create UserGroup
description: Creates a user group within a CoreStack tenant and assign different set of roles to different users.There can be multiple user groups within a CoreStack tenant. User group will be created at the tenant level
operationId: CreateUserGroup
security:
- auth_token: []
tags:
- User Groups
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupRequest'
required: true
servers:
- url: /
/v2/user_groups/batch:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupBatchResponse'
summary: User Group Batch
operationId: UserGroupBatch
security:
- auth_token: []
tags:
- User Groups
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ObjectIdBatchRequest'
required: true
servers:
- url: /
/v2/user_groups/item/{group_id}:
parameters:
- name: group_id
in: path
required: true
schema:
type: string
delete:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Deleted
content:
application/json:
schema:
type: boolean
summary: Delete UserGroup
description: Delete User Group by ID
operationId: DeleteUserGroup
security:
- auth_token: []
tags:
- User Groups
get:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupDetails'
summary: Get UserGroup
description: Get User Group by ID
operationId: GetUserGroup
security:
- auth_token: []
tags:
- User Groups
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'201':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupDetails'
summary: Update UserGroup
description: user group update within a CoreStack tenant and assign different set of roles to different users.There can be multiple user groups within a CoreStack tenant. User group will be updated at the tenant level
operationId: UpdateUserGroup
security:
- auth_token: []
tags:
- User Groups
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupRequest'
required: true
servers:
- url: /
/v2/user_groups/list:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupListResponse'
summary: User Group List
description: List User Groups
operationId: ListUserGroups
security:
- auth_token: []
tags:
- User Groups
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserGroupListRequest'
required: true
servers:
- url: /
components:
schemas:
UserGroupFilters:
properties:
tenant_ids:
type: array
items:
type: string
description: Filter By tenants
type: object
MasterAccountUserGroupSummary:
properties:
id:
type: string
description: UserGroup id
name:
type: string
description: Name of UserGroup
type: object
UserGroupRequest:
required:
- group_name
- roles
- tenant_ids
- users
properties:
group_name:
type: string
description: The unique group name for the user group to be created.
tenant_ids:
type: array
description: ID of tenants to assign to UserGroup
items:
type: string
roles:
type: array
description: List of role IDs to assign to UserGroup
items:
type: string
users:
type: array
description: List of users IDs to assign to UserGroup
items:
type: string
type: object
ObjectIdBatchRequest:
properties:
ids:
type: array
items:
type: string
x-cs-type: ObjectId
type: object
UserGroupListResponse:
properties:
results:
type: array
description: List of result identifiers
items:
type: string
x-cs-type: ObjectId
next_list_context:
description: List context
$ref: '#/components/schemas/ListContext'
type: object
UserGroupBatchResponse:
properties:
results:
type: object
description: Map from identifier to response model
additionalProperties:
$ref: '#/components/schemas/UserGroupDetails'
type: object
UserGroupListRequest:
properties:
list_context:
description: Optional list context
$ref: '#/components/schemas/ListContext'
sort:
type: array
description: Sort criteria
items:
$ref: '#/components/schemas/UserGroupSortCriteria'
filters:
description: Filters for the request
$ref: '#/components/schemas/UserGroupFilters'
type: object
UserGroupDetails:
properties:
created_by:
type: string
description: Name of the user who created this user group
created_at:
type: string
format: date-time
description: When the user group was created
updated_by:
type: string
description: Name of the user last updated this user group
updated_at:
type: string
format: date-time
description: When the user group was last updated
group_name:
type: string
description: Name of the user group
tenant_ids:
type: array
description: ID of tenants within the CoreStack account
items:
type: string
roles:
type: array
description: List of role IDs assigned to UserGroup
items:
type: string
users:
type: array
description: List of users IDs assigned to UserGroup
items:
type: string
type: object
ModelError:
required:
- message
properties:
message:
type: string
description: Error response message.
type: object
UserGroupSortCriteria:
required:
- column
properties:
column:
type: string
example: Name
enum:
- Name
- CreatedAt
x-cs-enum-type: UserGroupSortColumn
ascending:
type: boolean
type: object
ListContext:
properties:
batch_size:
type: integer
description: Max number of ids in the response
batch_offset:
type: integer
description: Offset of batches into the results. First batch is 0
total:
type: integer
description: Total number of results
type: object
UserGroupFilters_2:
properties:
tenant_ids:
type: array
items:
type: string
description: Filter By tenants
user_ids:
type: array
description: Filter user groups that any of the given user IDs are a member of
items:
type: string
x-cs-type: ObjectId
type: object
securitySchemes:
auth_token:
type: apiKey
in: header
name: X-Auth-Token
x-refined-from:
- corestack-external-api-openapi-original.json
- corestack-openapi.json