Skip to content

Dismiss a task

Request

Marks a task as dismissed for the given user, optionally scoped to a specific location and directory.

Bodyapplication/jsonrequired
typestringrequired
Enum:"ADD_REQUIRED_FIELDS_TO_RESUME_SYNC""CLAIM_LISTING_FOR_LOCATION""CREATE_NEW_POST""ENABLE_EMAIL_NEW_MESSAGES""ENABLE_EMAIL_NEW_FORMS""ENABLE_EMAIL_NEW_POSTING_APPROVAL""ENABLE_EMAIL_NEW_REVIEW_REPLY_APPROVAL""ENABLE_EMAIL_DIGEST""FILL_MISSING_REQUIRED_FIELDS""FILL_MISSING_BASIC_FIELDS"
locationIdinteger or null, (int64)

Optional location ID to scope the dismissal

directorystring or null

Optional directory to scope the dismissal

curl -i -X POST \
  https://uberall.com/api/home/tasks/dismiss \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "ADD_REQUIRED_FIELDS_TO_RESUME_SYNC",
    "locationId": 0,
    "directory": "string"
  }'

Responses

Task dismissed successfully

Bodyapplication/json
typestringrequired

Type of the dismissed task

Enum:"ADD_REQUIRED_FIELDS_TO_RESUME_SYNC""CLAIM_LISTING_FOR_LOCATION""CREATE_NEW_POST""ENABLE_EMAIL_NEW_MESSAGES""ENABLE_EMAIL_NEW_FORMS""ENABLE_EMAIL_NEW_POSTING_APPROVAL""ENABLE_EMAIL_NEW_REVIEW_REPLY_APPROVAL""ENABLE_EMAIL_DIGEST""FILL_MISSING_REQUIRED_FIELDS""FILL_MISSING_BASIC_FIELDS"
locationIdinteger or null, (int64)

Location identifier associated with the dismissed task

Example:12345
directorystring or null

Directory associated with the dismissed task

Example:"google"
Response
{ "type": "ADD_REQUIRED_FIELDS_TO_RESUME_SYNC", "locationId": 12345, "directory": "google" }