API reference · Platform / IAM
IAM
Teams, access policies and their attachments, the action catalogue, the member baseline, members, effective access and the simulator.
Create policies of allow and deny statements, attach them to members or teams, and check decisions with the simulator. Owners are always allowed; a matching deny wins over everything else; admins are allowed unless denied; members are allowed by a matching allow, or for reads by the baseline. See teams and access policies, writing policies and the action catalogue.
The IAM team object
A named group of the organization's members.
Fields
idstringrequirednamestringrequired1 to 64 characters, unique in the organization (case-insensitive).
descriptionstringrequiredmember_countintegerrequiredpolicy_idsarray of stringrequiredThe policies attached to the team.
created_atstringrequiredupdated_atstringrequiredversionintegerrequired
The IAM team member object
Fields
user_idstringrequiredemailstringrequirednamestringrequiredrolestringrequiredOne of
owner,admin,member.added_atstringrequired
The IAM member object
An active member of the organization.
Fields
user_idstringrequiredemailstringrequirednamestringrequiredrolestringrequiredOne of
owner,admin,member.team_idsarray of stringrequiredpolicy_countintegerrequiredDistinct policies that apply to the member, attached directly or through any of their teams.
The IAM policy object
A named document of statements: the organization's own, or one of Pantech's managed policies (managed: true, id pol_pantech_<name>, read-only).
Fields
idstringrequirednamestringrequireddescriptionstringrequiredmanagedbooleanrequiredstatementsarray of IamStatementrequiredShow 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
attachment_countintegerrequiredcreated_atstringrequiredupdated_atstringrequiredversionintegerrequiredSend as
If-Matchto change the policy only if it has not changed since.
The IAM statement object
Fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
The IAM attachment object
Fields
policy_idstringrequiredprincipal_typestringrequiredOne of
member,team.principal_idstringrequiredA member's user id (
usr_…) or a team id (team_…).attached_atstringrequired
The IAM action object
One action of the closed catalogue.
Fields
actionstringrequired<service>:<verb>.servicestringrequireddescriptionstringrequiredresource_typesarray of stringrequiredWhat the action is on; empty for an account-wide action such as
billing:BuyCredit.readbooleanrequiredThe action only reads. A
readkey may call it, and thereadmember baseline grants it (exceptiam:Read).
The IAM settings object
The organization's access setting.
Fields
member_baselinestringrequiredWhat a member may do with no policy:
readevery Read action (the default), ornone.One of
read,none.versionintegerrequired0 until an owner first changes it.
updated_atstring or nullrequired
The IAM effective access object
Fields
user_idstringrequiredrolestringrequiredOne of
owner,admin,member.teamsarray of stringrequiredpoliciesarray of IamEffectivePolicyrequiredShow 2 child fieldsHide child fields
policy_idstringrequiredteam_idstring or nullrequiredThe team that brought the policy; null when it is attached to the member directly.
member_baselinestringrequiredOne of
read,none.
The IAM simulation object
Fields
allowedbooleanrequireddecisionstringrequiredOne of
owner,admin,allow,baseline_read,explicit_deny,implicit_deny.policy_idstring or nullrequiredThe policy whose statement decided, for
allowandexplicit_deny.sidstring or nullrequiredThat statement's sid, when it has one.
List actions
Every action a statement can name, with what it is on and whether it only reads. Any member.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Response 200
List actions.dataarray of IamActionrequiredShow 5 child fieldsHide child fields
actionstringrequired<service>:<verb>.servicestringrequireddescriptionstringrequiredresource_typesarray of stringrequiredWhat the action is on; empty for an account-wide action such as
billing:BuyCredit.readbooleanrequiredThe action only reads. A
readkey may call it, and thereadmember baseline grants it (exceptiam:Read).
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/actions" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"action": "instances:Stop",
"service": "instances",
"description": "description",
"resource_types": [
"resource-types"
],
"read": true
}
]
}Get the access setting
The organization's member_baseline. Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Response 200
Get the access setting.member_baselinestringrequiredWhat a member may do with no policy:
readevery Read action (the default), ornone.One of
read,none.versionintegerrequired0 until an owner first changes it.
updated_atstring or nullrequired
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/settings" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"member_baseline": "read",
"version": 1,
"updated_at": "2026-10-03T09:30:00Z"
}Change the access setting
Sets member_baseline: read lets every member read everything (today's behaviour), none lets members do only what their policies allow. Owners only; owners are emailed a security notice when it changes.
Idempotency: requires an Idempotency-Key.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonmember_baselinestringrequiredOne of
read,none.
Response 200
Change the access setting.member_baselinestringrequiredWhat a member may do with no policy:
readevery Read action (the default), ornone.One of
read,none.versionintegerrequired0 until an owner first changes it.
updated_atstring or nullrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 412
VERSION_CONFLICT:If-Matchis not the current version. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
VALIDATION_FAILED:member_baselineis notreadornone. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PUT "https://api.pantechdynamics.com/public/v1/iam/settings" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"member_baseline": "read"
}'{
"member_baseline": "read",
"version": 1,
"updated_at": "2026-10-03T09:30:00Z"
}List teams
The organization's teams, oldest first. Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
List teams.dataarray of IamTeamrequiredShow 8 child fieldsHide child fields
idstringrequirednamestringrequired1 to 64 characters, unique in the organization (case-insensitive).
descriptionstringrequiredmember_countintegerrequiredpolicy_idsarray of stringrequiredThe policies attached to the team.
created_atstringrequiredupdated_atstringrequiredversionintegerrequired
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_PAGE,INVALID_CURSOR. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/teams" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"id": "team_01jd8x2v3k",
"name": "web-1",
"description": "description",
"member_count": 1,
"policy_ids": [
"policy-ids"
],
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Create a team
At most 50 teams per organization. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key. A retry with the same key and request returns what the first request made, with the same status; the same key with a different request returns 409 IDEMPOTENCY_CONFLICT.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequired1 to 64 characters, trimmed.
descriptionstringAt most 255 characters.
Response 201
Create a team.idstringrequirednamestringrequired1 to 64 characters, unique in the organization (case-insensitive).
descriptionstringrequiredmember_countintegerrequiredpolicy_idsarray of stringrequiredThe policies attached to the team.
created_atstringrequiredupdated_atstringrequiredversionintegerrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 409
IAM_TEAM_NAME_TAKEN,IDEMPOTENCY_CONFLICT. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
VALIDATION_FAILED. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/iam/teams" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Platform"
}'{
"id": "team_01jd8x2v3k",
"name": "web-1",
"description": "description",
"member_count": 1,
"policy_ids": [
"policy-ids"
],
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Get a team
Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
team_idstringrequired
Response 200
Get a team.idstringrequirednamestringrequired1 to 64 characters, unique in the organization (case-insensitive).
descriptionstringrequiredmember_countintegerrequiredpolicy_idsarray of stringrequiredThe policies attached to the team.
created_atstringrequiredupdated_atstringrequiredversionintegerrequired
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"id": "team_01jd8x2v3k",
"name": "web-1",
"description": "description",
"member_count": 1,
"policy_ids": [
"policy-ids"
],
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Rename a team
Changes the name or description; fields left out keep their value. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
team_idstringrequired
Body
application/jsonnamestringA new name, 1 to 64 characters.
descriptionstringA new description, at most 255 characters.
Response 200
Rename a team.idstringrequirednamestringrequired1 to 64 characters, unique in the organization (case-insensitive).
descriptionstringrequiredmember_countintegerrequiredpolicy_idsarray of stringrequiredThe policies attached to the team.
created_atstringrequiredupdated_atstringrequiredversionintegerrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND. - 409
IAM_TEAM_NAME_TAKEN. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
VALIDATION_FAILED. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PATCH "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'{
"id": "team_01jd8x2v3k",
"name": "web-1",
"description": "description",
"member_count": 1,
"policy_ids": [
"policy-ids"
],
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Delete a team
Removes the team, its memberships and its policy attachments. Only owners may delete a team that contains an admin. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key.
Destructive: an AI app's key also needs the delete scope.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
team_idstringrequired
Response 204
Delete a team. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"List a team's members
Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
team_idstringrequired
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
List a team's members.dataarray of IamTeamMemberrequiredShow 5 child fieldsHide child fields
user_idstringrequiredemailstringrequirednamestringrequiredrolestringrequiredOne of
owner,admin,member.added_atstringrequired
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_PAGE,INVALID_CURSOR. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w/members" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"user_id": "usr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"email": "email",
"name": "web-1",
"role": "owner",
"added_at": "2026-10-03T09:30:00Z"
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Add a member to a team
Takes no body. Adding someone already in the team answers them unchanged. Admins may add and remove members only, never an admin or owner.
Idempotency: requires an Idempotency-Key. Repeating it is safe: it answers the existing membership or attachment.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
team_idstringrequireduser_idstringrequired
Response 200
Add a member to a team.user_idstringrequiredemailstringrequirednamestringrequiredrolestringrequiredOne of
owner,admin,member.added_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND,MEMBER_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PUT "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w/members/usr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"{
"user_id": "usr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"email": "email",
"name": "web-1",
"role": "owner",
"added_at": "2026-10-03T09:30:00Z"
}Remove a member from a team
Admins may remove members only.
Idempotency: requires an Idempotency-Key.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
team_idstringrequireduser_idstringrequired
Response 204
Remove a member from a team. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_TEAM_NOT_FOUND,MEMBER_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/iam/teams/team_06gk3x9tq7m2v8r4y1c5d0zp8w/members/usr_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"List members
The organization's active members with their teams and how many policies apply to each, by when they joined. Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
qstringOnly members whose email or name contains this text (case-insensitive), at most 320 characters.
At most 320 characters.
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
List members.dataarray of IamMemberrequiredShow 6 child fieldsHide child fields
user_idstringrequiredemailstringrequirednamestringrequiredrolestringrequiredOne of
owner,admin,member.team_idsarray of stringrequiredpolicy_countintegerrequiredDistinct policies that apply to the member, attached directly or through any of their teams.
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_PAGE,INVALID_CURSOR,INVALID_FILTER. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/members" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"user_id": "usr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"email": "email",
"name": "web-1",
"role": "owner",
"team_ids": [
"team-ids"
],
"policy_count": 1
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Get a member's effective access
The member's role, teams and every policy that applies to them, with the team that brought each. Owners and admins, and members with iam:Read. Any member may read their own.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
user_idstringrequired
Response 200
Get a member's effective access.user_idstringrequiredrolestringrequiredOne of
owner,admin,member.teamsarray of stringrequiredpoliciesarray of IamEffectivePolicyrequiredShow 2 child fieldsHide child fields
policy_idstringrequiredteam_idstring or nullrequiredThe team that brought the policy; null when it is attached to the member directly.
member_baselinestringrequiredOne of
read,none.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
MEMBER_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/members/usr_06gk3x9tq7m2v8r4y1c5d0zp8w/effective-access" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"user_id": "usr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"role": "owner",
"teams": [
"teams"
],
"policies": [
{
"policy_id": "pol_06gk3x9tq7m2v8r4y1c5d0zp8w",
"team_id": "team_06gk3x9tq7m2v8r4y1c5d0zp8w"
}
],
"member_baseline": "read"
}Simulate an access decision
Would this member be allowed this action on this resource? Changes nothing, so it needs only the read scope; an Idempotency-Key, if sent, is ignored. The answer may name the deciding policy. Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Body
application/jsonuser_idstringrequiredThe member to simulate.
actionstringrequiredresourcestringA resource id, such as
vm_01jd….resource_namestringThe resource's name, for
name:patterns.source_ipstringThe client address to simulate.
mfabooleanWhether the session signed in with MFA; false when omitted.
Response 200
Simulate an access decision.allowedbooleanrequireddecisionstringrequiredOne of
owner,admin,allow,baseline_read,explicit_deny,implicit_deny.policy_idstring or nullrequiredThe policy whose statement decided, for
allowandexplicit_deny.sidstring or nullrequiredThat statement's sid, when it has one.
Errors
- 400
INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
MEMBER_NOT_FOUND. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
VALIDATION_FAILED:action,resourceorsource_ipis invalid. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/iam/simulate" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "usr_06gk3x9tq7m2v8r4y1c5d0zp8w",
"action": "instances:Delete"
}'{
"allowed": true,
"decision": "owner",
"policy_id": "pol_06gk3x9tq7m2v8r4y1c5d0zp8w",
"sid": "sid"
}List policies
Pantech's managed policies, then the organization's, oldest first. Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
managedbooleantruelists Pantech's managed policies only,falsethe organization's only; omit it for both.limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
List policies.dataarray of IamPolicyrequiredShow 9 child fieldsHide child fields
idstringrequirednamestringrequireddescriptionstringrequiredmanagedbooleanrequiredstatementsarray of IamStatementrequiredShow 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
attachment_countintegerrequiredcreated_atstringrequiredupdated_atstringrequiredversionintegerrequiredSend as
If-Matchto change the policy only if it has not changed since.
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last one.
Errors
- 400
INVALID_PAGE,INVALID_CURSOR,INVALID_FILTER. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/policies" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"id": "pol_01jd8x2v3k",
"name": "web-1",
"description": "description",
"managed": true,
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
],
"attachment_count": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Create a policy
1 to 20 statements; at most 100 policies per organization. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key. A retry with the same key and request returns what the first request made, with the same status; the same key with a different request returns 409 IDEMPOTENCY_CONFLICT.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Body
application/jsonnamestringrequired1 to 64 letters, digits, spaces,
.,_or-, starting with a letter or digit, unique in the organization. Names starting withpantech_are reserved.descriptionstringAt most 255 characters.
statementsarray of IamStatementrequiredAt most 20 items.
Show 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
Response 201
Create a policy.idstringrequirednamestringrequireddescriptionstringrequiredmanagedbooleanrequiredstatementsarray of IamStatementrequiredShow 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
attachment_countintegerrequiredcreated_atstringrequiredupdated_atstringrequiredversionintegerrequiredSend as
If-Matchto change the policy only if it has not changed since.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 409
IAM_POLICY_NAME_TAKEN,IDEMPOTENCY_CONFLICT. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
INVALID_POLICY:errorsnames each bad field, such asstatements[0].actions[2]orstatements[1].conditions.source_ip[0].VALIDATION_FAILED:nameordescription. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/iam/policies" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "staging-operators",
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
]
}'{
"id": "pol_01jd8x2v3k",
"name": "web-1",
"description": "description",
"managed": true,
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
],
"attachment_count": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Get a policy
Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.
Response 200
Get a policy.idstringrequirednamestringrequireddescriptionstringrequiredmanagedbooleanrequiredstatementsarray of IamStatementrequiredShow 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
attachment_countintegerrequiredcreated_atstringrequiredupdated_atstringrequiredversionintegerrequiredSend as
If-Matchto change the policy only if it has not changed since.
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"id": "pol_01jd8x2v3k",
"name": "web-1",
"description": "description",
"managed": true,
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
],
"attachment_count": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Replace a policy
Replaces the name, description and statements. Pantech's policies cannot be changed. Only owners may change a policy that applies to an admin. Owners are emailed when the change gives a member a write action they did not have. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.
Body
application/jsonnamestringrequired1 to 64 letters, digits, spaces,
.,_or-, starting with a letter or digit, unique in the organization. Names starting withpantech_are reserved.descriptionstringAt most 255 characters.
statementsarray of IamStatementrequiredAt most 20 items.
Show 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
Response 200
Replace a policy.idstringrequirednamestringrequireddescriptionstringrequiredmanagedbooleanrequiredstatementsarray of IamStatementrequiredShow 5 child fieldsHide child fields
sidstring or nullOptional (null when absent), unique within the policy, 1 to 64 letters, digits,
_or-.effectstringrequiredOne of
allow,deny.actionsarray of stringrequiredActions from
GET /iam/actions.*is a glob over the whole action string:instances:*,*:Read,*.*:Deletematches only verbs that are exactlyDelete.At most 50 items.
resourcesarray of stringrequired*, a resource id (vm_…,dnsz_…), orname:<glob>matched against the resource's name (*and?, case-insensitive). An action that creates something matches*or aname:glob against the name being created.At most 50 items.
conditionsobject or nullAll present conditions must hold for the statement to apply; null for none.
Show 2 child fieldsHide child fields
source_iparray of stringThe request's client address is in one of these IPv4 or IPv6 CIDR blocks (a bare address is its /32 or /128). Null for any address.
At most 20 items.
mfaboolean or nulltrue: applies only when the session authenticated with MFA.false: applies only when the request lacks MFA. API keys never carry MFA, so a deny withmfa: falseblocks the action for keys too. Null or omitted: either way.
attachment_countintegerrequiredcreated_atstringrequiredupdated_atstringrequiredversionintegerrequiredSend as
If-Matchto change the policy only if it has not changed since.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND. - 409
IAM_MANAGED_POLICY,IAM_POLICY_NAME_TAKEN. - 412
VERSION_CONFLICT:If-Matchis not the current version. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
INVALID_POLICY,VALIDATION_FAILED. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X PUT "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "staging-operators",
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
]
}'{
"id": "pol_01jd8x2v3k",
"name": "web-1",
"description": "description",
"managed": true,
"statements": [
{
"sid": "RestartStaging",
"effect": "allow",
"actions": [
"instances:Start",
"instances:Stop"
],
"resources": [
"name:staging-*"
],
"conditions": {
"source_ip": [
"<office-cidr>"
],
"mfa": true
}
}
],
"attachment_count": 1,
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z",
"version": 1
}Delete a policy
Deletes the policy and detaches it everywhere. Pantech's policies cannot be deleted. Only owners may delete a policy that applies to an admin. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key.
Destructive: an AI app's key also needs the delete scope.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.
Response 204
Delete a policy. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND. - 409
IAM_MANAGED_POLICY. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"List a policy's attachments
Owners and admins, and members with iam:Read.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.
Response 200
List a policy's attachments.dataarray of IamAttachmentrequiredShow 4 child fieldsHide child fields
policy_idstringrequiredprincipal_typestringrequiredOne of
member,team.principal_idstringrequiredA member's user id (
usr_…) or a team id (team_…).attached_atstringrequired
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thereadscope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w/attachments" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"policy_id": "pol_06gk3x9tq7m2v8r4y1c5d0zp8w",
"principal_type": "member",
"principal_id": "principal-id",
"attached_at": "2026-10-03T09:30:00Z"
}
]
}Attach a policy
Attaches the policy to a member or a team: 201 with the new attachment, or 200 with the existing one when it is already attached. At most 10 policies per member and per team. Only owners may attach to an admin or a team containing an admin. Owners are emailed when it gives a member write access. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key. Repeating it is safe: it answers the existing membership or attachment.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.
Body
application/jsonprincipal_typestringrequiredOne of
member,team.principal_idstringrequiredA member's user id or a team id.
Response 200
Already attached: the existing attachment.policy_idstringrequiredprincipal_typestringrequiredOne of
member,team.principal_idstringrequiredA member's user id (
usr_…) or a team id (team_…).attached_atstringrequired
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write.INVALID_REQUEST_BODY: the body is not a single valid JSON object. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND,IAM_TEAM_NOT_FOUND,MEMBER_NOT_FOUND. - 413
REQUEST_TOO_LARGE: the body is larger than 256 KiB. - 422
VALIDATION_FAILED:principal_type. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X POST "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w/attachments" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"principal_type": "member",
"principal_id": "principal-id"
}'{
"policy_id": "pol_06gk3x9tq7m2v8r4y1c5d0zp8w",
"principal_type": "member",
"principal_id": "principal-id",
"attached_at": "2026-10-03T09:30:00Z"
}Detach a policy
Only owners may detach from an admin or a team containing an admin. Owners and admins. A key with a key policy cannot change IAM.
Idempotency: requires an Idempotency-Key.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….Idempotency-KeystringrequiredA new value, such as a UUID, for each change. Resend with the same value to retry safely.
At most 255 characters.
Path parameters
policy_idstringrequiredA policy id,
pol_…orpol_pantech_<name>.principal_typestringrequiredOne of
member,team.principal_idstringrequired
Response 204
Detach a policy. No body.
Errors
- 400
IDEMPOTENCY_KEY_REQUIRED,INVALID_IDEMPOTENCY_KEY: send oneIdempotency-Keyof at most 255 characters with every write. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks thewritescope. Use a key with that scope.ACCESS_DENIED: the key's member lacksiam:Read;detailnames the action.FORBIDDEN: the key's member is not an owner or admin (owners only for the access setting), or the key has a key policy.IAM_ADMIN_TARGET: only owners act on admins, or on teams containing an admin.IAM_TEAM_LIMIT_REACHED,IAM_POLICY_LIMIT_REACHED,IAM_ATTACHMENT_LIMIT_REACHED: 50 teams, 100 policies, 10 per member or team.AI_APPS_DISABLED: the organization has turned AI app access off for this key or client. - 404
IAM_POLICY_NOT_FOUND,IAM_ATTACHMENT_NOT_FOUND. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
IAM_UNAVAILABLE: teams and access policies are not available on this deployment yet.SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl -X DELETE "https://api.pantechdynamics.com/public/v1/iam/policies/pol_06gk3x9tq7m2v8r4y1c5d0zp8w/attachments/team/team_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"