-
Notifications
You must be signed in to change notification settings - Fork 2
permissions
luishens01 edited this page Jan 6, 2019
·
2 revisions
This wiki page is part of the usage documentation of the tng-gtk-usr
repository.
These are the operations for the Endpoints of the tng-gtk-usr
- GET
This gives the list of all endpoints
- POST
Register a new endpoint
{
"role":"customer",
"endpoint":"services",
"verbs":"get,post"
}
- DELETE
Delete from the permissions table. You need to pass all the info, like this:
{
"role":"customer",
"endpoint":"services",
"verbs":"get,post"
}
- GET
This gives the endpoints for that user's role