Delete a current resource that is no longer relevant to your project.
You can also view a list of all existing URL resources in the project using this link.
Parameters
"omni_key"
is the private key. You can pass it as header or like body parameter or query parameter
"url"
indicate the resource you want to delete
Returns
If the request is successful, a results
object is returned.
/rest/v1/projects/{id}/resources/urls/
Example
{
"omni_key":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNGFiNDUyYTMtNGMwYi00MTIyLWI3NDgtYzk4MWRiN2VlYWFlIiwiZGVmYXVsdFJvbGUiOiJ1c2VyIiwiYWxsb3dlZFJvbGVzIjpbInVzZXIiLCJtZSJdfSwiaWF0IjoxNzE0MzgxNzM4LCJleHAiOjE3NDU5MzkzMzgsInN1YiI6IjRhYjQ1MmEzLTRjMGItNDEyMi1iNzQ4LWM5ODFkYjdlZWFhZSJ9.EFa4TEFmXrSdUX7X6rrfbFSy2xP78YEhHSRWUid9hMo",
"url": "https://globalforgivenessinitiative.com/user/pages/download/Four-Steps-to-Forgiveness-William-Fergus-Martin.pdf"
}
Schema
{
omni_key string
url* string
}
Responses
Successful operation
Example
{
"results": [
{
"url": "https://globalforgivenessinitiative.com/user/pages/download/Four-Steps-to-Forgiveness-William-Fergus-Martin.pdf",
"done": 1
}
]
}
Possible response codes
Successful deletion, no content returned
Forbidden: User does not have permission
Not Found: Chain or Project not found
Server Error: Unexpected server error