20 lines
290 B
HTTP
20 lines
290 B
HTTP
@host = http://localhost:8080
|
|
|
|
|
|
|
|
### Login
|
|
POST {{ host }}/super/v1/auth/login
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username":"test-user",
|
|
"password":"test-password"
|
|
}
|
|
|
|
### update tenant expire
|
|
PATCH {{ host }}/super/v1/tenants/2
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"duration": 7
|
|
} |