admins
Update admin
Updates an existing admin. Recovery codes and TOTP configuration cannot be set/updated using this API: each admin must use the specific APIs. You are not allowed to update the admin impersonated using an API key
put/admins/{username}
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- HTTP bearer
- or API key in header X-SFTPGO-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"filters": {
"allow_list": [
"192.0.2.0/24",
"2001:db8::/32"
]
}
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.