Post /settings/integration/sms/{id}
Description
Updates an existing SMS Provider record in the database.
Request Parameter
Id, the SMS Provider record Id.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Sample Request
Request URL |
POST https://10.106.94.152:8443/api/v2/settings/integration/sms/2 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "landscape": 0, "id": 0, "providerName": "string", "emailToSMS": "string", "country": "string", "state": "string", "enabled": true, "version": 0, "maxMessageLength": 0 } |
Sample Response
{
"status": "success",
"errorMessage": null
}