Skip to main content
POST
/
deal-folder
/
files
/
{file}
/
approve
Approve a file slot (brand only)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/deal-folder/files/{file}/approve \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "File approved."
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Path Parameters

file
integer
required

DealFolderFile ID (slot ID).

Example:

5

Response

File approved

status
string
Example:

"success"

message
string
Example:

"File approved."