v1

latestOpenAPI 3.0.02026-07-17166300328.1 KB
AuthKeys

Edit auth key

post/auth_keys/edit/{authKeyId}

Path parameters

string required
OR
string uuid required
Example:12345

UUID or numeric ID of the auth key

Request body

read_onlyboolean
commentstring
allowed_ipsstring[] nullable

Example request

{
  "allowed_ips": [
    "127.0.0.1"
  ]
}

Response

Auth key response

Example response

{
  "AuthKey": {
    "id": "12345",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "created": "1617875568",
    "expiration": "1970-01-01 00:00:00",
    "user_id": "12345",
    "allowed_ips": [
      "127.0.0.1"
    ],
    "last_used": "1617875568"
  },
  "User": {
    "id": "12345",
    "org_id": "12345"
  }
}