Token (Admin)
Update the token policy
Changed onMerge-updates the token policy. Only the fields provided in the request body are updated; unspecified fields retain their current values. Requires admin (sudo) privileges. Changes take effect immediately for new token operations.
put/api/admin/tokens/policy
Request
- The document declares no server URL.
- AuthsocaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)
Headers
X-EDH-USERstring required
Admin username
X-EDH-TOKENstring required
Admin authentication token
Request body
Response
Policy updated successfully (returns merged policy)
Example response
{
"success": true
}Changes
- info
endpoint added
- info