Nimbu Developer Docs
ReferenceApps

Delete app code file

DELETE
/apps/{app_id}/code/{filename}

Removes a cloud code file from the OAuth application.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Path Parameters

app_id*string

Application key

filename*string

Code file name

Header Parameters

X-Nimbu-Site*string

Site identifier

Response Body

application/json

curl -X DELETE "https://example.com/apps/string/code/string" \  -H "X-Nimbu-Site: string"
Empty
{
  "message": "string",
  "code": 0,
  "errors": [
    {
      "resource": "string",
      "field": "string",
      "message": "string",
      "code": "string",
      "messages": [
        "string"
      ],
      "codes": [
        "string"
      ],
      "value": null
    }
  ]
}