Skip to main content
PATCH
Update service account

Authorizations

Authorization
string
header
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Headers

Authorization
string
required

Bearer API Key. For example, "Bearer {Tenant API Key}"

Content-Type
string

application/json

Path Parameters

accountId
string
required

The service account's 12-digit AWS account ID.

Pattern: ^[0-9]{12}$
Example:

"210987654321"

Body

application/json

Send at least one field. None of them can be cleared, so null is refused.

controlPlaneRoleArn
string

A new control-plane role, with no path, in the service account's AWS account. The role needs the tag RolePurpose with the value PlerionAccess.

Pattern: ^arn:aws:iam::[0-9]{12}:role/[a-zA-Z0-9_-]{1,100}$
Example:

"arn:aws:iam::210987654321:role/PlerionControlPlaneRole"

applianceInstanceProfileArn
string

A new appliance instance profile, with no path, in the service account's AWS account.

Pattern: ^arn:aws:iam::[0-9]{12}:instance-profile/[a-zA-Z0-9_-]{1,100}$
Example:

"arn:aws:iam::210987654321:instance-profile/PlerionInstanceProfile"

name
string

1 to 64 letters, numbers, spaces, underscores, dots and hyphens.

Pattern: ^[a-zA-Z0-9_ .-]{1,64}$
Example:

"Plerion scanning"

templateVersion
string

The version of the Plerion template you deployed the resources from.

Required string length: 1 - 32
Example:

"v4"

Response

The service account

data
object

An AWS account that runs Plerion's workload scanners.