Profile
Endpoints for current profile
get
Authorizations
Responses
200
OK
*/*
401
Unauthorized
*/*
403
Forbidden
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
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
*/*
401
Unauthorized
*/*
403
Forbidden
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
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?