Skip to main content

User-related API environment

Production user-related API docs

These pages describe the Production user-related API stack.

Use production OAuth credentials, production API base URLs, and production app URLs when following this documentation.

Need to test before going live? Switch to the Pre-live docs using the environment switcher above.

Delete a goal

Delete a goal by id.

Path Parameters
    id string required

    The id of the goal.

Query Parameters
    category string required

    Possible values: [QURAN, COURSE, QURAN_READING_PROGRAM, RAMADAN_CHALLENGE]

    The category of the goal

Header Parameters
    x-timezone string

    The current timezone of the user. Not providing the value might affect the accuracy of how we calculate days and streaks.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message

    Possible values: [goal deleted]

Loading...