Flag (global)

Represents a single flag configured in DreamApply. For a flag assigned to a specific application, see Flag.

URI
/api/v10/applications/flags/ID

GET Get a flag

Retrieve information about a specific flag configured in DreamApply.

Syntax
GET /api/v10/applications/flags/1
Host: apply.example.edu
Authorization: DREAM apikey="..."

Example request

Request
curl
curl \
  -X GET \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v10/applications/flags/1"

Response headers

HeaderValueDescription
Content-Typeapplication/jsonThe media type of the resource
Content-Length1234The size of the response body in bytes
Response codeDescription
200 OKThe flag data was successfully returned
404 Not FoundThe flag does not exist

Example response

Response
{
  "id": 1,
  "created": "2025-03-14T13:28:51+00:00",
  "name": "Awaiting interview"
}

DELETE Delete a flag

Remove a flag from DreamApply and unassign it from all applications to which the flag is assigned.

Syntax
DELETE /api/v10/applications/flags/1
Host: apply.example.edu
Authorization: DREAM apikey="..."

Example request

Request
curl
curl \
  -X DELETE \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v10/applications/flags/1"

Response headers

HeaderValueDescription
Content-Typetext/plainThe media type of the resource
Content-Length0The size of the response body in bytes
Response codeDescription
204 No ContentThe flag was successfully deleted
404 Not FoundThe flag was not found

See Also