DELETE datastore/schemas/:schema name/users/:user id/objects
From Social ID Developers
(Difference between revisions)
Renato.neves (Talk | contribs) (→Description) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | Removes all objects from an | + | Removes all objects from an user for the given schema name. |
== Resource URL == | == Resource URL == | ||
Line 23: | Line 23: | ||
== Authentication == | == Authentication == | ||
− | This API requires | + | This API requires Account authentication. See [[Authentication]]. |
== Response == | == Response == |
Latest revision as of 16:43, 30 December 2021
Contents |
Description
Removes all objects from an user for the given schema name.
Resource URL
DELETE https://api.socialidnow.com/v1/marketing/datastore/schemas/:schema_name/users/:user_id/objects
Parameters
URL Parameters
schema_name | required | schema name. |
---|---|---|
user_id | required | user identifier. |
Authentication
This API requires Account authentication. See Authentication.
Response
Response Status
ok (200) | The request was performed sucessfully. |
---|---|
unauthorized (401) | The authentication is wrong. See Authentication. |
internal_server_error (500) | An unknown error happened. |
Examples
Request
Removes all objects from the user with identifier "34" from the schema named "first_schema".
curl -iX DELETE 'https://api.socialidnow.com/v1/marketing/datastore/schemas/first_schema/users/34/objects \ -H 'Content-type: application/json' \ --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
Response
Response Headers
HTTP/1.1 200 Ok Status: 200