Link Search Menu Expand Document

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 the uid passed from the profiles collection and removes the object inside of the access_groups field corresponding to the accessID field passed [404].