Skip to main content

Delete a social association

info

This operation requires that the user is the same or has the admin role.

HTTP Request

DELETE /api/v2/user/{id}/provider/

Parameters

NameInTypeRequiredDescription
idqueryintegertrueA unique integer value identifying this user
ext_idbodyintegertrueA unique external id identifying the user
providerbodystringtrueThe external provider of the ext_id

Example Request

const inputBody = '{
"ext_id": "integer",
"provider": "string"
}';
const headers = {
'Authorization':'Bearer {access_token}',
'Content-Type':'application/json',
'Accept':'application/json'
};

fetch('/api/v2/user/{id}/provider/',
{
method: 'DELETE',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone