Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "role", "<my_new_iam_role_arn>"
}

Request Body - person assignment:

The following changes the person identifier for the AWS Role object.

Info

NOTE: When an AWS role object has been created, it must be assigned to an AWS configuration object. This assignment cannot be modified after creation. You must delete the AWS role object and recreate it.


Code Block
{
  "personId" 4
}

You can also assign using a workspaceId identifier. For more information, see API AWSRoles Create v4.

Response

Response Status Code - Success:  200 - OK

Response Body Example:

Code Block
{
    "createdFrom": "api",
    "id": 2,
    "role": "<my_new_iam_role_arn>",
    "awsConfig": {
      "idawsConfigId": 1
    },
    "updatedAt": "2019-07-15T23:18:59.360Z",
    "createdAt": "2019-07-15T23:18:59.360Z",
    "deleted_at": null
}

...

For more information, see API AWSRoles Get List v4.