Naviga ID
Docs HomeInfomakerNaviga
  • Introduction
  • Release notes
  • Architecture
    • Authorization schema
  • Integrations
    • Customer Integration
      • Microsoft Azure
      • Google G Suite
      • Custom Identity Provider
      • Moving to a New Identity Provider
    • Service Integration
      • IMSG and headers
  • Services
    • Admin API
      • Routes
        • Health
        • Organizations
        • Permissions
        • Roles
        • Units
        • Services
        • Subjects
        • Organization applications
        • Internal applications
    • IMSG
      • Routes
        • Imsg-service
      • Environment variables
  • Shared modules
    • Http Test Server
      • HttpTestServer
    • Service Authorization Lib
      • Authorize
      • Errors
      • ExpressMiddleware
      • TokenUtils
      • Hapi plugin
      • ServiceAuthorizationError
      • AccessDenied
      • Unauthorized
      • ConfigError
  • Client Credentials
    • Managing Applications
    • Internal Naviga ID Docs
  • Access Token
    • Fetching and using Access Tokens
    • Validate Access Tokens
  • Local development
    • Local HTTPS support
  • Post Mortem
    • Broken backwards compatibility in access token service for client credentials, 20th Dec 2021
Powered by GitBook
On this page
  • /subjects.get
  • /subjects.list
  • /subjects.me
  • /subjects.block
  • /subjects.create
  • /subjects.delete
  • /subjects.login
  • /subjects.logout
  • /subjects.setOrganizationSubject
  • /subjects.unblock

Was this helpful?

Export as PDF
  1. Services
  2. Admin API
  3. Routes

Subjects

/subjects.get

GET https://admin-api.imid.infomaker.io/v1/subjects.get

Get subject by id

Query Parameters

Name
Type
Description

subjectId

string

Subject id

{
  "id": "Subject id",
  "organizationId": "Organization id",
  "organizationSubject": "user@infomaker.se",
  "blocked": false,
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.list

GET https://admin-api.imid.infomaker.io/v1/subjects.list

List subjects by id

Path Parameters

Name
Type
Description

string

[
  {
    "id": "Subject id",
    "organizationId": "Organization id",
    "organizationSubject": "user@infomaker.se",
    "blocked": false,
    "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
  }
]
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.me

GET https://admin-api.imid.infomaker.io/v1/subjects.me

View data of currently logged in subject

Path Parameters

Name
Type
Description

string

{
  "org": "infomaker",
  "sub": "user@infomaker.se"
}
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.block

POST https://admin-api.imid.infomaker.io/v1/subjects.block

Block subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.create

POST https://admin-api.imid.infomaker.io/v1/subjects.create

Create subject

Request Body

Name
Type
Description

organizationId

string

Organization id

organizationSubject

string

Organization subject

{
  "id": "Subject id",
  "organizationId": "Organization id",
  "organizationSubject": "user@infomaker.se",
  "blocked": false,
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.delete

POST https://admin-api.imid.infomaker.io/v1/subjects.delete

Delete subject by id

Request Body

Name
Type
Description

subjectId

string

Subject id

""
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.login

POST https://admin-api.imid.infomaker.io/v1/subjects.login

Login subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.logout

POST https://admin-api.imid.infomaker.io/v1/subjects.logout

Logout subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.setOrganizationSubject

POST https://admin-api.imid.infomaker.io/v1/subjects.setOrganizationSubject

Set subject organization subject by id

Request Body

Name
Type
Description

subjectId

string

Subject id

organizationSubject

string

Organization subject

{
  "organizationSubject": "user@infomaker.se"
}
"errors.api.BadRequestError"
"errors.api.InternalServerError"

/subjects.unblock

POST https://admin-api.imid.infomaker.io/v1/subjects.unblock

Unblock subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""
"errors.api.BadRequestError"
"errors.api.InternalServerError"
PreviousServicesNextOrganization applications

Last updated 4 years ago

Was this helpful?