Organizations

/organizations.export

GET https://admin-api.imid.infomaker.io/v1/organizations.export

Get organization by id

Query Parameters

Name
Type
Description

organizationId

string

Organization id

{}

/organizations.get

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

Get organization by id

Query Parameters

Name
Type
Description

organizationId

string

Organization id

{
  "id": "Organization id",
  "name": "infomaker",
  "displayName": "Infomaker Scandinavia AB",
  "wellKnownConfigUrl": "http://example.com/.well-known.json",
  "scope": "openid profile email",
  "clientId": "foobarbaz",
  "responseMode": "query",
  "groupsClaim": "Groups",
  "whitelistCallbackUrls": "[\"infomaker.io\", \"infomaker-test.io\"]",
  "sanitizedClientSecret": "null",
  "forceLoginPrompt": false,
  "useUserinfoEndpoint": false,
  "blocked": false,
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}

/organizations.list

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

List organizations

Path Parameters

Name
Type
Description

string

[
  {
    "id": "Organization id",
    "name": "infomaker",
    "displayName": "Infomaker Scandinavia AB",
    "wellKnownConfigUrl": "http://example.com/.well-known.json",
    "scope": "openid profile email",
    "clientId": "foobarbaz",
    "responseMode": "query",
    "groupsClaim": "Groups",
    "whitelistCallbackUrls": "[\"infomaker.io\", \"infomaker-test.io\"]",
    "sanitizedClientSecret": "null",
    "forceLoginPrompt": false,
    "useUserinfoEndpoint": false,
    "blocked": false,
    "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
  }
]

/organizations.listGroupToRoleMappings

GET https://admin-api.imid.infomaker.io/v1/organizations.listGroupToRoleMappings

List group to service role mappings by organization id

Query Parameters

Name
Type
Description

organizationId

string

Organization id

[
  {
    "roleId": "Role id",
    "unitId": "Unit id",
    "organizationId": "Organization id",
    "group": "Auth team"
  }
]

/organizations.block

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

Block organization by id

Request Body

Name
Type
Description

organizationId

string

Organization id

""

/organizations.create

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

Create organization

Request Body

Name
Type
Description

name

string

Organization name

displayName

string

Organization display name

wellKnownConfigUrl

string

undefined

scope

string

OIDC scope

clientId

string

OIDC client ID

responseMode

string

OIDC response mode

groupsClaim

string

Organization groups claim

whitelistCallbackUrls

array

An array with callback whitelist URL

clientSecret

string

undefined

forceLoginPrompt

boolean

undefined

useUserinfoEndpoint

boolean

undefined

{
  "id": "Organization id",
  "name": "infomaker",
  "displayName": "Infomaker Scandinavia AB",
  "wellKnownConfigUrl": "http://example.com/.well-known.json",
  "scope": "openid profile email",
  "clientId": "foobarbaz",
  "responseMode": "query",
  "groupsClaim": "Groups",
  "whitelistCallbackUrls": "[\"infomaker.io\", \"infomaker-test.io\"]",
  "sanitizedClientSecret": "null",
  "forceLoginPrompt": false,
  "useUserinfoEndpoint": false,
  "blocked": false,
  "updatedBySub": "infomaker_b8b9373b-a30d-459d-a44d-f270afb5e581"
}

/organizations.delete

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

Delete organization by id

Request Body

Name
Type
Description

organizationId

string

Organization id

""

/organizations.import

POST https://admin-api.imid.infomaker.io/v1/organizations.import

Get organization by id

Request Body

Name
Type
Description

organizationId

string

Organization id

config

object

undefined

{}

/organizations.logout

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

Logout organization by id

Request Body

Name
Type
Description

organizationId

string

Organization id

""

/organizations.setClientId

POST https://admin-api.imid.infomaker.io/v1/organizations.setClientId

Set organization clientId

Request Body

Name
Type
Description

organizationId

string

Organization id

clientId

string

OIDC client ID

{
  "clientId": "foobarbaz"
}

/organizations.setClientSecret

POST https://admin-api.imid.infomaker.io/v1/organizations.setClientSecret

Update org client secret

Request Body

Name
Type
Description

organizationId

string

Organization id

clientSecret

string

OIDC client secret

{
  "sanitizedClientSecret": "foobarbaz"
}

/organizations.setDisplayName

POST https://admin-api.imid.infomaker.io/v1/organizations.setDisplayName

Set organization display name

Request Body

Name
Type
Description

organizationId

string

Organization id

displayName

string

Organization display name

{
  "name": "Infomaker Scandinavia AB"
}

/organizations.setForceLoginPrompt

POST https://admin-api.imid.infomaker.io/v1/organizations.setForceLoginPrompt

Set organization forceLoginPrompt

Request Body

Name
Type
Description

organizationId

string

Organization id

forceLoginPrompt

boolean

undefined

{
  "forceLoginPrompt": false
}

/organizations.setGroupsClaim

POST https://admin-api.imid.infomaker.io/v1/organizations.setGroupsClaim

Set organization groupsClaim

Request Body

Name
Type
Description

organizationId

string

Organization id

groupsClaim

string

Organization groups claim

{
  "groupsClaim": "Groups"
}

/organizations.setName

POST https://admin-api.imid.infomaker.io/v1/organizations.setName

Set organization name

Request Body

Name
Type
Description

organizationId

string

Organization id

name

string

Organization name

{
  "name": "infomaker"
}

/organizations.setResponseMode

POST https://admin-api.imid.infomaker.io/v1/organizations.setResponseMode

Set organization responseMode

Request Body

Name
Type
Description

organizationId

string

Organization id

responseMode

string

OIDC response mode

{
  "responseMode": "query"
}

/organizations.setScope

POST https://admin-api.imid.infomaker.io/v1/organizations.setScope

Set organization scope

Request Body

Name
Type
Description

organizationId

string

Organization id

scope

string

OIDC scope

{
  "scope": "openid profile email"
}

/organizations.setUseUserinfoEndpoint

POST https://admin-api.imid.infomaker.io/v1/organizations.setUseUserinfoEndpoint

Set organization useUserinfoEndpoint

Request Body

Name
Type
Description

organizationId

string

Organization id

useUserinfoEndpoint

boolean

undefined

{
  "useUserinfoEndpoint": false
}

/organizations.setWellKnownConfigUrl

POST https://admin-api.imid.infomaker.io/v1/organizations.setWellKnownConfigUrl

Set organization wellKnownConfigUrl

Request Body

Name
Type
Description

organizationId

string

Organization id

wellKnownConfigUrl

string

Organization well known config url

{
  "wellKnownConfigUrl": "http://example.com/.well-known.json"
}

/organizations.setWhitelistCallbackUrls

POST https://admin-api.imid.infomaker.io/v1/organizations.setWhitelistCallbackUrls

Set organization whitelistCallbackUrls

Request Body

Name
Type
Description

organizationId

string

Organization id

whitelistCallbackUrls

array

An array with callback whitelist URL

{
  "whitelistCallbackUrls": "[\"infomaker.io\", \"infomaker-test.io\"]"
}

/organizations.unblock

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

Unblock organization by id

Request Body

Name
Type
Description

organizationId

string

Organization id

""

Last updated