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"
}

/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"
  }
]

/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"
}

/subjects.block

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

Block subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""

/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"
}

/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

""

/subjects.login

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

Login subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""

/subjects.logout

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

Logout subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""

/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"
}

/subjects.unblock

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

Unblock subject

Request Body

Name
Type
Description

subjectId

string

Subject id

""

Last updated