Delete
/api/v2/access/delete
Post
profiles
jwt
disabled
Purpose
To allow a user to delete an existing Access Group.
Body Content [input]
{
uid: string,
accessID: string
}
Returns if valid [output]
{
message: string,
error: 0
}
What the API does
- Finds the
profile
of the record corresponding to theuid
passed from theprofiles
collection and removes the object inside of theaccess_groups
field corresponding to theaccessID
field passed [404].