Profile

Endpoints for current profile

get
Authorizations
Responses
200
OK
*/*
get
GET /api/profile HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Accept: */*
{
  "id": 1,
  "username": "text",
  "name": "text",
  "roles": [
    "text"
  ]
}
put
Authorizations
Body
namestringRequired
Responses
200
OK
*/*
put
PUT /api/profile HTTP/1.1
Host: localhost:8080
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "id": 1,
  "username": "text",
  "name": "text",
  "roles": [
    "text"
  ]
}

Was this helpful?