Own profile of the acting user.
GET
/profile
const url = 'https://example.com/api/v1/profile';const options = {method: 'GET', headers: {cookie: 'dnse_session=<dnse_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/profile \ --cookie dnse_session=<dnse_session>Authorizations
Abschnitt betitelt „Authorizations“Responses
Abschnitt betitelt „Responses“Profile.
Media typeapplication/json
object
id
string format: uuid
username
string
role
string
displayName
string
email
string
Example
{ "role": "admin"}