Partially update application
PATCH
/api/v2/client/applications/{application_id}
const url = 'https://app.affisemmp.com/api/v2/client/applications/1';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"b","status":null,"sdk_callback":"n","package_name":"g","package_description":"architecto","fcm_key":"n"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.affisemmp.com/api/v2/client/applications/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "b", "status": null, "sdk_callback": "n", "package_name": "g", "package_description": "architecto", "fcm_key": "n" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” application_id
required
integer
The ID of the application.
Example
1Request Body
Section titled “Request Body ” Media type application/json
object
name
Must not be greater than 255 characters.
string
Example
b status
string
Example
null sdk_callback
Must not be greater than 255 characters.
string
Example
n package_name
Must not be greater than 128 characters.
string
Example
g package_description
string
Example
architecto fcm_key
Must not be greater than 255 characters.
string
Example
nResponses
Section titled “ Responses ” Media type application/json
object
message
string
Example
{ "message": "Application successfully updated"}