Updates an authorisation action for application.
PUT https://api-authenticator.iwelcome.com/v1/actions
Headers:
Authorization: Bearer {your application API Key}
Content-Type: application/json
code (string, required) - Action to be updated, specified by its code.title (string, required) - New action title. Maximum length of 35 characters
message (string, required) - New action message. The length of the message must not exceed 100 characters.
approve (string) - The new "Approve" button text. Must not exceed 10 charactersdeny (string) - The new "Deny" button text. Must not exceed 10 characters
{
"type": "api.application.action.update",
"meta": {
"changed": true
},
"result": {
"id": "123456abcdef",
"action": {
"code": "example",
"title": "Oh my it's the NEW example action",
"message": "This NEW message is very boring"
},
"variables": [],
"button": {
"approve": "Course",
"deny": "Neah"
},
"is_active": true,
"application_id": "1234",
"created_at": "2016-11-15T12:22:03.000Z",
"updated_at": "2016-11-15T12:22:10.000Z"
}
}
Have a question? You can always send us an email at support@unloq.io, or contact us on chat.
For security related concerns, please visit our Security page.