Delete Assigned Role from System Account

Removes an assigned role from a system account. Returns 404 if the system account or assigned role were not found.

delete
https://global.api.konghq.com/v3/system-accounts/{accountId}/assigned-roles/{roleId}

Path Parameters

accountIdstringrequired

ID of the system account.

roleIdstringrequired

ID of the role.

Response

No Content

delete/system-accounts/{accountId}/assigned-roles/{roleId}
 

System Accounts - Team Membership

List System Accounts on a Team

Returns a paginated list of system accounts that belong to the team specified in the path parameter.

get
https://global.api.konghq.com/v3/teams/{teamId}/system-accounts

Query Parameters

page[size]integer

The maximum number of items to include per page. The last page of a collection may include fewer items.

Example:10

page[number]integer

Determines which page of the entities to retrieve.

Example:1

filterobject

Filter system accounts returned in the response.

Show Child Parameters

Path Parameters

teamIdstringrequired

ID of the team.

Response

application/json

A paginated list response for a collection of system accounts.

System Account Collection Response

metaobject

returns the pagination information

Show Child Parameters
dataarray[object]

Schema of the system account.

Example:{"id":"497f6eca-6276-4993-bfeb-53cbbbba6f08","name":"Example System Account","description":"This is a sample system account description.","created_at":"2022-08-24T14:15:22Z","updated_at":"2022-10-05T10:33:49Z","konnect_managed":false}

Show Child Parameters
get/teams/{teamId}/system-accounts
 
application/json

Add System Account to a Team

Adds a system account to a team. Returns a 409 if the system account is already a member of the team.

post
https://global.api.konghq.com/v3/teams/{teamId}/system-accounts

Path Parameters

teamIdstringrequired

ID of the team.

Body

application/json

The request schema for adding a system account to a team.

idstring(uuid)

ID of the system account.

Response

Created

post/teams/{teamId}/system-accounts

Body

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }
 

Remove System Account From Team

Removes a system account from a team. Returns 404 if the team or system account were not found.

delete
https://global.api.konghq.com/v3/teams/{teamId}/system-accounts/{accountId}

Path Parameters

teamIdstringrequired

ID of the team.

accountIdstringrequired

ID of the system account.

Response

No Content

delete/teams/{teamId}/system-accounts/{accountId}