Magic Account Apps
Update an App
Changed onUpdates an Account App
patch/accounts/{account_id}/magic/apps/{account_app_id}
Request
- Base URL: https://api.cloudflare.com/client/v4
- URL: https://api.cloudflare.com/client/v4/accounts/{account_id}/magic/apps/{account_app_id}
- Auth: API key in header X-Auth-Email and API key in header X-Auth-Key and HTTP bearer
Path parameters
account_idstring required
Identifier
Example:023e105f4ecef8ad9ca31a8372d0c353
account_app_idstring required
Identifier
Example:023e105f4ecef8ad9ca31a8372d0c353
Request body
Example request
{
"hostnames": [
"auth.cloudflare.com"
],
"ip_subnets": [
"1.1.1.1/32"
],
"name": "Cloudflare Dashboard",
"source_subnets": [
"1.1.1.1/32"
],
"type": "Development"
}Response
Update App response
Example response
{
"errors": [],
"messages": [],
"result": {
"account_app_id": "ac60d3d0435248289d446cedd870bcf4",
"hostnames": [
"auth.cloudflare.com"
],
"ip_subnets": [
"1.1.1.1/32"
],
"name": "Cloudflare Dashboard",
"source_subnets": [
"1.1.1.1/32"
],
"type": "Development"
},
"success": true
}Changes
- ▲
the
request property type changed from no type toobject - ▲
the
request property type changed from no type toobject - ▲
the
request property type changed from no type toobject - ▲
the
request property type changed from no type toobject - ▲
the
request property type changed from no type toobject - ▲
the
//request property type changed from no type tostring - ▲
the
//request property type changed from no type tostring - ▲
the
response's property type changed from no type toobjectfor status - ▲
the
////response's property type changed from no type tostringfor status - ▲
the
////response's property type changed from no type tostringfor status
- ▲