Skip to main content
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

User Account Association API

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/users/v1

The User Account Association API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

admin​

Operations available for privileged users, to be invoked on behalf of another user.

Get user's associations​

GET /{user-id}/associations

This API is used to retrieve the associations of the user.

Scope(Permission) required: internal_user_association_view

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

user id

Responses

CodeDescriptionSchema
200

Successful operation

array of User
204

No content

401

Unauthorized request

403

Resource Forbidden

404

Not Found

Error
500

Server Error

Error

Delete user's all user associations​

DEL /{user-id}/associations

This API is used to delete all associations of the user.

Scope(Permission) required: internal_user_association_delete

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

Responses

CodeDescriptionSchema
204

No content

401

Unauthorized request

403

Resource Forbidden

404

Not Found

Error
500

Server Error

Error

Get user's federated associations​

GET /{user-id}/federated-associations

This API is used to retrieve the federated associations of the user.

Scope(Permission) required: internal_user_association_view

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

user id

Responses

CodeDescriptionSchema
200

Successful operation

array of FederatedAssociation
204

No content

401

Unauthorized request

403

Resource Forbidden

404

Not Found

Error
500

Server Error

Error

Delete user's all user-federated associations​

DEL /{user-id}/federated-associations

This API is used to delete all federated associations of the user.

Scope(Permission) required: internal_user_association_delete

Parameters

NameInTypeRequiredDescription
user-idpathstringYes

Responses

CodeDescriptionSchema
204

No content

401

Unauthorized request

403

Resource Forbidden

404

Not Found

Error
500

Server Error

Error

Delete the user's federated association​

DEL /{user-id}/federated-associations/{id}

This API is used to delete a federated association of the user.

Scope(Permission) required: internal_user_association_delete

Parameters

NameInTypeRequiredDescription
user-idpathstringYes
idpathstringYes

Responses

CodeDescriptionSchema
204

No content

401

Unauthorized request

403

Resource Forbidden

404

Not Found

Error
500

Server Error

Error

Schemas​

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestringYes
messagestringYes
descriptionstring
traceIdstring

User​

Type: object

7 properties
NameTypeRequiredDescription
userIdstring
usernamestring
userStoreDomainstring
tenantDomainstring
firstNamestring
lastNamestring
emailstring

FederatedAssociation​

Type: object

3 properties
NameTypeRequiredDescription
idstring
idpIdp
federatedUserIdstring

Idp​

Type: object

4 properties
NameTypeRequiredDescription
idstring
namestring
displayNamestring
imageUrlstring

Property​

Type: object

2 properties
NameTypeRequiredDescription
keystring
valuestring

AssociationUserRequest​

Type: object

3 properties
NameTypeRequiredDescription
userIdstring
passwordstring
propertiesarray of Property

Was this page helpful?