Update notification forward target
PUT
/api/v2/client/applications/{application_id}/notification-forward-targets/{notificationForwardTarget_id}
const url = 'https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"platform":"google","environment":"sandbox","url":"https://example.com/rtdn","enabled":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://app.affisemmp.com/api/v2/client/applications/1/notification-forward-targets/16 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "platform": "google", "environment": "sandbox", "url": "https://example.com/rtdn", "enabled": false }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” application_id
required
integer
The ID of the application.
Example
1 notificationForwardTarget_id
required
integer
The ID of the notificationForwardTarget.
Example
16Request Body
Section titled “Request Body ” Media type application/json
object
platform
One of: apple, google.
string
Example
google environment
One of: prod, sandbox.
string
Example
sandbox url
Public HTTPS endpoint.
string
Example
https://example.com/rtdn enabled
boolean
Example
falseResponses
Section titled “ Responses ” Media type application/json
object
data
object
id
integer
application_id
integer
platform
string
environment
string
url
string
secret
string
enabled
boolean
created_at
string
updated_at
string
Example
{ "data": { "id": 34, "application_id": 371, "platform": "apple", "environment": "prod", "url": "https://dubuque.net/notifications", "secret": "201b28dc-a350-4cbf-a000-56e81da14de5", "enabled": true, "created_at": "2026-11-25T12:56:08Z", "updated_at": "2026-11-25T12:56:08Z" }}