Update Token
Update the specified token object.
put
Path parameters
idstringRequired
Body
namestringOptional
descriptionstring | nullableOptional
iconstring | nullableOptional
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
put
PUT /public/v1/accounts/api-tokens/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"name": "text",
"description": "text",
"icon": "text",
"modules": [
{
"id": "text"
}
]
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-07-15T17:41:44.029Z",
"by": {
"0": "[",
"1": "C",
"2": "i",
"3": "r",
"4": "c",
"5": "u",
"6": "l",
"7": "a",
"8": "r",
"9": " ",
"10": "R",
"11": "e",
"12": "f",
"13": "e",
"14": "r",
"15": "e",
"16": "n",
"17": "c",
"18": "e",
"19": "]"
}
},
"updated": {
"at": "2025-07-15T17:41:44.029Z",
"by": {
"0": "[",
"1": "C",
"2": "i",
"3": "r",
"4": "c",
"5": "u",
"6": "l",
"7": "a",
"8": "r",
"9": " ",
"10": "R",
"11": "e",
"12": "f",
"13": "e",
"14": "r",
"15": "e",
"16": "n",
"17": "c",
"18": "e",
"19": "]"
}
}
},
"$meta": {
"omitted": [
"text"
]
},
"status": "text",
"name": "text",
"description": "text",
"icon": "text",
"lastAccessAt": "2025-07-15T17:41:44.029Z",
"token": "text",
"account": {
"id": "text",
"icon": "text",
"type": "Client",
"status": "Active",
"name": "text"
},
"modules": [
{
"id": "text",
"description": "text",
"name": "text",
"filters": {
"group.buyers": [
"text"
]
},
"settings": {
"sharedAccount": true,
"configurable": true,
"default": true,
"paid": true,
"type": [
"text"
]
}
}
]
}
Last updated
Was this helpful?