Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/2443f6d538fd09d00b5f8add909fc2a5


^ Back to top

...

US14 | Get global privilege

GET

/user/privilege/{privilege}

Admin permission required

Response payload

Code Block
themeMidnight
titleList of Pivilege objects
linenumberstrue
collapsetrue
{
    "privilege": "FACHSTELLE_ARCHIV",
    "id": [
        "fachstelle_archiv",
        "76cbd46def6ee122af1218e080ce1264",
        "5924c8bc43d72a99cc599c739a5b2300",
        "ffd0228f2f57c93df01d39c4da1799c2",
        "96185c01ec10b9cf28656d8137748e71",
        "a1935d91ef4ebcf1f57ef120e6e76aad",
        "4026c88b653a112935812de111b4af22"
    ],
    "sector": "Archiv",
    "global": true,
    "heritable": true
}

Status codes

  • 200 = Successful
  • 400 = Bad Request
  • 401 = User not authorized to login
  • 403 = Authentication temporarily blocked
  • 404 = User not found
  • 423 = User is blacklisted
  • 428 = User has "unconfirmed" status
  • 500 = Internal server error

Example call(s)

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/privilege/FACHSTELLE_ARCHIV