Create a username password action
POST {{baseUrl}}/workflow_actions/username_password_actions
Create a username password action
Request Body
{"workflow_action"=>{"workflow_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "description"=>"Prompt the user for their username and password.", "archived"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"workflow_action":{"workflow_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","description":"Require approval from another user or a group of users with a specific role.","page_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","add_requester_as_owner":true,"email_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","email_addresses":["johndoe@gmail.com","janedoe@gmail.com"],"new_status":"Active, Inactive, On Leave, Terminated","archived":false,"skippable":false,"requires_comment":false}}