Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

getAllIDPs

Gets information of all identity Providers configured in Kantega SSO, both active and inactive IDPs.

The authenticated user must have the SYS_ADMIN permission to call this resource.

GET

rest/ksso/api/idp/1.0/idp/ids

Request

Example:https://<atlassian-product-base-url>/rest/ksso/api/info/1.0/idp/ids

Response

Status 200

Returns a list of identity Providers.

[
  {
    "id": "1ncq3jsPC74BGuNnfZPl",
    "name": "AD FS"
  },
  ...

Status: 401

Returned if the user does not have system admin permission

getAllGroupsForIdp

Gets information about KSSO idp managed groups configuration

The authenticated user must have the SYS_ADMIN permission to call this resource.

GET

rest/ksso/api/idp/1.0/managedgroups

Request

Element: group

Example :https://<atlassian-product-base-url>/rest/ksso/api/info/1.0/managedgroups

Response

Status: 200

Returns a list of all managed groups for the specified IDP

[
  "adminGroup",
  "adminGroup1",
  "adminGroup2",

…

Status: 401

Returned if the user does not have system admin permission.

getSpecificGroup

Checks whether KSSO managed group exists for a specific IDP (Identity Provider) configuration

The authenticated user must have the SYS_ADMIN permission to call this resource.

GET

rest/ksso/api/idp/1.0/managedgroups/{idpId}/groups/{managedGroupName}

Request

Example :https://<atlassian-product-base-url>/rest/ksso/api/idp/1.0/idp12345/groups/adminGroup1

Response

Status: 204

Returns empty response with 204 code if the specified managed group is found in the IDP configuration

Status: 401

Returned if the user does not have system admin permission

addGroup

Adds a new managed group associated with the Identity Provider.

POST rest/ksso/api/idp/1.0/managedgroups

Use this method to include a new managed group to an existing IDP configuration. This can be beneficial in cases where access management and permissions based on group associations within an Identity Provider become critical. Before invoking this method, ensure that the IDP specified by the `idpId` already exists. If the IDP does not exist, or if the `addManagedGroup` name is already used, this operation might not succeed.
The `idpId` and `addManagedGroup` must not be empty for the addition to be successful.
Note that this method only handles the addition of the group and does not verify if the IDP has existing associations or configurations that might conflict. Use {@link IdpConfigResource} /rest/ksso/api/idp/1.0/idp/ids to obtain the list of existing IDPs.

Request

Element: group

Example: {"idpId":"idp12345","addManagedGroup":"adminGroup"}

Response

Status: 204

Returned if the managed group is successfully stored.

Status: 400

In case of unhandled error while fetching the IDP configuration or if required parameters are missing

Status: 401

Returned if the user does not have system admin permission

replaceGroup

Replaces a managed group associated with the provided IDP (Identity Provider).

PUT rest/ksso/api/idp/1.0/managedgroups/{idpId}/groups/{groupToReplace}

The authenticated user must have the SYS_ADMIN permission to call this resource.

Use this method to include a new managed group to an existing IDP configuration. This can be beneficial in cases where access management and permissions based on group associations within an Identity Provider become critical. Before invoking this method, ensure that the IDP specified by the `idpId` already exists. If the IDP does not exist, or if the `addManagedGroup` name is already used, this operation might not succeed.
The `idpId` and `addManagedGroup` must not be empty for the addition to be successful.
Note that this method only handles the addition of the group and does not verify if the IDP has existing associations or configurations that might conflict. Use {@link IdpConfigResource} /rest/ksso/api/idp/1.0/idp/ids to obtain the list of existing IDPs.

Request

Element: group

Example: {"idpId":"idp12345","addManagedGroup":"adminGroup"}

Response

Status: 400

In case of unhandled error while fetching the IDP configuration or if required parameters are missing.

Status: 401

Returned if the user does not have system admin permission

Status: 204

Returned if the managed group is successfully stored.

Status: 404

removeGroup

Removes a managed group from the specified IDP (Identity Provider).

DELETE rest/ksso/api/idp/1.0/managedgroups/{idpId}/groups/{managedGroupName}

This method is restricted to sysadmin users only. If the specified IDP is not found, a BAD_REQUEST response is returned. If the managed group is not found within the IDP, a NOT_FOUND response is returned. If the removal is successful, a NO_CONTENT response is returned.

Request

Element: group

Example:

Response

Status: 400

In case of unhandled error while fetching IDP configuration

Status: 401

Returned if the user does not have system admin permission

Status: 204

Returned if the managed group is successfully removed

  • No labels