API Endpoints
Successful operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
GET /admin/configurations HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"configurations": {
"id": "13da1a6e-a153-461c-9f41-ab3ac58c801e",
"provider": "AUTH",
"name": "Resend Email",
"value": "5",
"slug": "auth-resend-email"
}
}
}
AUTH
Possible values: Resend Email
5
Successful operation
{"statusCode":201}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
The element already exists
POST /admin/configurations HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"provider": "AUTH",
"name": "Resend Email",
"value": "5"
}
{
"statusCode": 201
}
df5272ac-54be-4c11-ab4b-d1d69f61a7f9
Successful operation
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
The element was not found
GET /admin/configurations/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "13da1a6e-a153-461c-9f41-ab3ac58c801e",
"provider": "AUTH",
"name": "Resend Email",
"value": "5",
"slug": "auth-resend-email"
}
}
df5272ac-54be-4c11-ab4b-d1d69f61a7f9
AUTH
Possible values: Resend Email
3
Successful operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
The element was not found
The element already exists
PUT /admin/configurations/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"provider": "AUTH",
"name": "Resend Email",
"value": "3"
}
{
"statusCode": 200
}
df5272ac-54be-4c11-ab4b-d1d69f61a7f9
Successful operation
{"statusCode":200}
This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
The element was not found
DELETE /admin/configurations/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
Last updated
Was this helpful?