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.s1.today
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"name": "text",
"description": "text",
"icon": "text",
"modules": [
{
"id": "text"
}
]
}
{
"id": "text",
"audit": {
"created": {
"at": "2025-08-09T13:21:57.303Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-08-09T13:21:57.303Z",
"by": "[Circular Reference]"
}
},
"$meta": {
"omitted": [
"text"
]
},
"status": "text",
"name": "text",
"description": "text",
"icon": "text",
"lastAccessAt": "2025-08-09T13:21:57.303Z",
"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": {
"configurable": true,
"default": true,
"paid": true,
"type": [
"text"
],
"obsolete": true,
"eligibility": {
"multi": true,
"single": true
}
}
}
]
}
Last updated
Was this helpful?