Portainer · Schema
resourcecontrols.resourceControlCreatePayload
Container ManagementContainersDockerKubernetesKubernetes ManagementEnterprise IdentityGitOps
Properties
| Name | Type | Description |
|---|---|---|
| AdministratorsOnly | boolean | Permit access to resource only to admins |
| Public | boolean | Permit access to the associated resource to any user |
| ResourceID | string | |
| SubResourceIDs | array | List of Docker resources that will inherit this access control |
| Teams | array | List of team identifiers with access to the associated resource |
| Type | object | Type of Resource. Valid values are: 1 - container, 2 - service 3 - volume, 4 - network, 5 - secret, 6 - stack, 7 - config, 8 - custom template, 9 - azure-container-group |
| Users | array | List of user identifiers with access to the associated resource |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-resourcecontrols-resource-control-create-payload-schema.json",
"title": "resourcecontrols.resourceControlCreatePayload",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/portainer-resource-controls-api-openapi.yml#/components/schemas/resourcecontrols.resourceControlCreatePayload",
"properties": {
"AdministratorsOnly": {
"description": "Permit access to resource only to admins",
"type": "boolean"
},
"Public": {
"description": "Permit access to the associated resource to any user",
"type": "boolean"
},
"ResourceID": {
"type": "string"
},
"SubResourceIDs": {
"description": "List of Docker resources that will inherit this access control",
"items": {
"type": "string"
},
"type": "array"
},
"Teams": {
"description": "List of team identifiers with access to the associated resource",
"items": {
"type": "integer"
},
"type": "array"
},
"Type": {
"allOf": [
{
"$ref": "#/$defs/portainer.ResourceControlType"
}
],
"description": "Type of Resource. Valid values are: 1 - container, 2 - service\n3 - volume, 4 - network, 5 - secret, 6 - stack, 7 - config, 8 - custom template, 9 - azure-container-group",
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"Users": {
"description": "List of user identifiers with access to the associated resource",
"items": {
"type": "integer"
},
"type": "array"
}
},
"required": [
"ResourceID",
"Type"
],
"type": "object",
"$defs": {
"portainer.ResourceControlType": {
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
],
"type": "integer",
"x-enum-varnames": [
"_",
"ContainerResourceControl",
"ServiceResourceControl",
"VolumeResourceControl",
"NetworkResourceControl",
"SecretResourceControl",
"StackResourceControl",
"ConfigResourceControl",
"CustomTemplateResourceControl",
"ContainerGroupResourceControl"
]
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/portainer-resourcecontrols-resource-control-create-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.