Identities (0.0.19)
Download OpenAPI specification:Download
Authenticate a user Deprecated
Authenticates an identity and returns an Identity object containing information about the authenticated identity. The request body should contain the required credentials such as username and password.
Authorizations:
Request Body schema: application/json
| credentials | string |
object | |
object |
Responses
Request samples
- Payload
{- "password": "password123",
- "username": "johndoe"
}Response samples
- 200
{- "dateCreated": 16238912000,
- "dateUpdated": 16238912000,
- "id": 1,
- "identifier": "johndoe",
- "identityProfile": {
- "email": "johndoe@example.com",
- "firstName": "John",
- "lastName": "Doe"
}, - "marcoId": "marco-1",
- "status": "ENABLED",
- "type": "USER"
}Updated the config for a give Marco ID Deprecated
Authorizations:
path Parameters
| marcoId required | string The marco Id of the config you want to add |
Request Body schema: application/json
Array of objects (ConfigItem) | |||||
Array
| |||||
Responses
Request samples
- Payload
{- "items": [
- {
- "key": "string",
- "value": "string"
}
]
}Update identity profile Deprecated
Updates the values of the identity profile
Authorizations:
path Parameters
| marcoId required | string The marco Id of the config you want to add |
Request Body schema: application/json
| displayName | string |
Responses
Request samples
- Payload
{- "displayName": "string"
}Response samples
- 200
{- "displayName": "string"
}Set profile image Deprecated
Sets a profile image to the authorized requester
Authorizations:
Request Body schema: application/json
| data | string |
| format | string |
Responses
Request samples
- Payload
{- "data": "string",
- "format": "string"
}Response samples
- 200
{- "displayName": "string"
}Get a list of identities with identifiers Deprecated
Authorizations:
query Parameters
| filter_by | string (SearchByFilterEnum) Default: "IDENTIFIER" Enum: "IDENTIFIER" "MARCO_ID" Field to match by when obtaining Identity. Default to IDENTIFIER |
| identifiers | Array of strings Unique Marco |
Responses
Response samples
- 200
[- {
- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}
]Create Identity Deprecated
Create a new Identity
Authorizations:
Request Body schema: application/json
| dateCreated | integer <int64> |
| dateUpdated | integer <int64> |
| id | integer <int64> |
| identifier | string |
object (Profile) | |
| marcoId | string |
| status | string (StatusEnum) Enum: "ENABLED" "DISABLED" "LOCKED" "PENDING" |
| type | string (LoginTypeEnum) Enum: "USER" "SERVICE" "SAML" |
Responses
Request samples
- Payload
{- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}Response samples
- 201
{- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}Get specific Identity Deprecated
Returns the Identity for provided targetIdentity
Authorizations:
path Parameters
| id required | string The ID of the identity that you want to perform an action |
query Parameters
| filter_by | string (SearchByFilterEnum) Default: "IDENTIFIER" Enum: "IDENTIFIER" "MARCO_ID" Field to match by when obtaining Identity. Default to IDENTIFIER |
Responses
Response samples
- 200
{- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}Update an Identities status Deprecated
Authorizations:
path Parameters
| id required | string The ID of the identity that you want to perform an action |
query Parameters
| status | string (StatusEnum) Enum: "ENABLED" "DISABLED" "LOCKED" "PENDING" The status that you want the Identity to be updated with |
Responses
Response samples
- 200
{- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}List of Identity filtered by their `identifier` field. Deprecated
Returns a list of Identity containing searchCriteria on their identifier field.
Authorizations:
path Parameters
| searchCriteria required | string Search criteria to match Identity |
Responses
Response samples
- 200
[- {
- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}
]Return the Identity of the current logged in user Deprecated
Authorizations:
Responses
Response samples
- 200
{- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}List of Identities that are contained in resources Deprecated
Authorizations:
path Parameters
| searchCriteria required | string Search criteria to match Identity |
query Parameters
| resources | Array of strings The resource Id's that you want to return the associated Identities of. |
Responses
Response samples
- 200
[- {
- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}
]List identities of a resource Deprecated
Authorizations:
path Parameters
| resourceId required | string The resource Id that you want to return the associated Identities of. |
Responses
Response samples
- 200
[- {
- "dateCreated": 0,
- "dateUpdated": 0,
- "id": 0,
- "identifier": "string",
- "identityProfile": {
- "displayName": "string"
}, - "marcoId": "string",
- "status": "ENABLED",
- "type": "USER"
}
]