Accounts

Update Account

Update information in an account such as the account name and slack channel. To use this command, permissions for organization admin are required. Granular permissions will require access policies with the following actions: setup:updateAccount

put/setup/account/{accountId}

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/setup/account/{accountId}
  • Auth
    HTTP bearer

Path parameters

accountIdstring required

The ID of the account you want to update.

Request body

Example request

{
  "account": {
    "name": "ACCOUNT_NAME"
  }
}

Response

Update Account Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/setup/account/act-4fb595c6?accountId=act-4fb595c6",
    "method": "PUT",
    "timestamp": "2018-11-19T13:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    }
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.