Connectors
...
Actions
Suspend User By ID
5 min
description suspends an okta user account based on the provided userid this action is essential for quickly disabling access when needed endpoint url /api/v1/users/{{userid}}/lifecycle/suspend method post inputs path parameters (object) – required path parameters userid (string) – required id of an existing okta user output example \[ { "status code" 200, "response headers" { "content length" "140", "content type" "application/json", "date" "wed, 8 jan 2025 20 37 23 gmt" }, "reason" "ok", "json" {} } ] output parameters status code (number) reason (string) json (object) response headers header type content length string content type string date string