Introduction
This is the NetFoundry identity service
Overview
HTTP verbs
NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP verbs.
| Verb | Usage |
|---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
|
Used to update an existing resource, full updates only |
|
Used to delete an existing resource |
The PATCH method is not used (yet).
|
HTTP status codes
NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP status codes.
| Status code | Usage |
|---|---|
|
The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action. |
|
The request has been fulfilled and resulted in a new resource being created. |
|
The request has been accepted and is being processed asynchronously Standard response for successful HTTP requests which invoke back-end services. |
|
The server successfully processed the request, but is not returning any content. |
|
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). |
|
The request lacks valid authentication credentials for the target resource. |
|
The request is authenticated with valid credentials however that set of credentials is not authorized to access this resource. |
|
The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible. |
Resources
Organization
Find Organizations
GET /organizations
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
realmId |
Object |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
mfaProviders |
Object |
true |
Must be one of [None, GoogleAuthenticator]. |
includeDeleted |
Boolean |
true |
Default value: 'false'. |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/organizations?page=1>; rel="last"
Content-Type: application/json
Content-Length: 2516
[ {
"id" : "00347761-7690-4075-8955-b82ba21af36e",
"realmId" : "6daea355-b87b-4bb5-a014-e824562985e5",
"name" : "World Wide Imports",
"label" : "WW-Imports-175",
"identityProviders" : [ {
"id" : "e01fa2eb-b3a8-45de-8d83-7d14f3c3d70b",
"organizationId" : "00347761-7690-4075-8955-b82ba21af36e",
"auth0ConnectionId" : "auth0-opaque-connectionId-176",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 267547000,
"epochSecond" : 1790623103
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 252310000,
"epochSecond" : 1790623103
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "01c7157c-15c1-4f80-b0ed-754d9200d447",
"realmId" : "6daea355-b87b-4bb5-a014-e824562985e5",
"name" : "World Wide Imports",
"label" : "WW-Imports-164",
"identityProviders" : [ {
"id" : "eda851f1-00f1-487c-b25d-b3d599e5113c",
"organizationId" : "01c7157c-15c1-4f80-b0ed-754d9200d447",
"auth0ConnectionId" : "auth0-opaque-connectionId-165",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 809760000,
"epochSecond" : 1790623102
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 807314000,
"epochSecond" : 1790623102
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "032f4036-f208-4461-b29f-3bc4e41be525",
"realmId" : "6daea355-b87b-4bb5-a014-e824562985e5",
"name" : "World Wide Imports",
"label" : "WW-Imports-185",
"identityProviders" : [ {
"id" : "5cd6ef36-f697-4280-a0b5-4e4df66ec98f",
"organizationId" : "032f4036-f208-4461-b29f-3bc4e41be525",
"auth0ConnectionId" : "auth0-opaque-connectionId-186",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 551484000,
"epochSecond" : 1790623103
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 549604000,
"epochSecond" : 1790623103
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
} ]
Get Organization By Self
GET /organizations/self
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "9129c1f3-8ea3-4151-b0b1-a656c53259c7",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 479417000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "6c35c3db-21ba-4c62-b101-01508e87a743",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 487838000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "f74c313c-2df1-449e-a060-5da2fef8711f",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"name" : "Custom Role - c8dcce92-8776-4310-b584-125cd05c7053",
"roleType" : "Custom",
"roleId" : "c8dcce92-8776-4310-b584-125cd05c7053",
"createdBy" : "38b028c0-f1c4-4c41-b14b-a01d09355e76",
"createdAt" : {
"nano" : 568107000,
"epochSecond" : 1790623048
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "0fffb288-cb0b-43ad-ab21-1a4d17ac9380",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"name" : "Standard Role - 3e315f4c-7f91-4e55-8f7c-298b791ce09c",
"roleType" : "Standard",
"roleId" : "3e315f4c-7f91-4e55-8f7c-298b791ce09c",
"createdBy" : "066dac44-3287-424d-a88c-1000e49ca706",
"createdAt" : {
"nano" : 556778000,
"epochSecond" : 1790623048
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 476015000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Id
GET /organizations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/0d16498b-5084-49e6-9239-74c2c6081acb' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "9129c1f3-8ea3-4151-b0b1-a656c53259c7",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 479417000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "6c35c3db-21ba-4c62-b101-01508e87a743",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 487838000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "f74c313c-2df1-449e-a060-5da2fef8711f",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"name" : "Custom Role - c8dcce92-8776-4310-b584-125cd05c7053",
"roleType" : "Custom",
"roleId" : "c8dcce92-8776-4310-b584-125cd05c7053",
"createdBy" : "38b028c0-f1c4-4c41-b14b-a01d09355e76",
"createdAt" : {
"nano" : 568107000,
"epochSecond" : 1790623048
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "0fffb288-cb0b-43ad-ab21-1a4d17ac9380",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"name" : "Standard Role - 3e315f4c-7f91-4e55-8f7c-298b791ce09c",
"roleType" : "Standard",
"roleId" : "3e315f4c-7f91-4e55-8f7c-298b791ce09c",
"createdBy" : "066dac44-3287-424d-a88c-1000e49ca706",
"createdAt" : {
"nano" : 556778000,
"epochSecond" : 1790623048
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 476015000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Get Organization By Label
GET /organizations/label/{label:[a-zA-Z0-9]+[-a-zA-Z0-9]{1,62}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
label |
String |
false |
Query parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
realm |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
active |
Boolean |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/label/ACME-2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1060
{
"id" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "9129c1f3-8ea3-4151-b0b1-a656c53259c7",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 479417000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "6c35c3db-21ba-4c62-b101-01508e87a743",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 487838000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
} ],
"mfaProvider" : null
}
Create Organization
POST /organizations
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"realmId" : "b6ffce6b-3bf9-42b0-ab42-bc122285e4ce",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 812
{
"id" : "8aad234b-8107-4262-bb0f-681107d3df98",
"realmId" : "b6ffce6b-3bf9-42b0-ab42-bc122285e4ce",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "accd9448-3840-4f4c-b293-04d26fb3536c",
"organizationId" : "8aad234b-8107-4262-bb0f-681107d3df98",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 124337000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 123459000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Activate Or Deactivate Organization
PUT /organizations/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/91018daa-38fb-4c7b-aa2f-a481497ef383/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "91018daa-38fb-4c7b-aa2f-a481497ef383",
"realmId" : "6daea355-b87b-4bb5-a014-e824562985e5",
"name" : "World Wide Imports",
"label" : "WW-Imports-380",
"identityProviders" : [ {
"id" : "2d124d6f-5a82-443d-b2d8-7d1d30125efc",
"organizationId" : "91018daa-38fb-4c7b-aa2f-a481497ef383",
"auth0ConnectionId" : "auth0-opaque-connectionId-381",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 793702000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 792403000,
"epochSecond" : 1790623114
},
"updatedAt" : {
"nano" : 804949000,
"epochSecond" : 1790623114
},
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
Add Identity Provider
POST /organizations/{id}/identity-providers
Authorization
This endpoint requires:
-
create-identity-provideraction on thisorganizationresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
auth0ConnectionId |
String |
true |
|
identityProviderName |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
realmId |
String |
true |
|
name |
String |
true |
|
label |
String |
true |
|
identityProviders |
Array[Object] |
true |
|
identityProviders[].id |
String |
true |
|
identityProviders[].organizationId |
String |
true |
|
identityProviders[].auth0ConnectionId |
String |
true |
|
identityProviders[].name |
String |
true |
|
identityProviders[].auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
identityProviders[].active |
Boolean |
true |
|
identityProviders[].createdAt |
Object |
true |
|
identityProviders[].updatedAt |
Object |
true |
|
identityProviders[].deletedAt |
Object |
true |
|
defaultRoles |
Array[Object] |
true |
|
defaultRoles[].id |
String |
true |
|
defaultRoles[].organizationId |
String |
true |
|
defaultRoles[].name |
String |
true |
|
defaultRoles[].roleType |
String |
true |
Must be one of [Standard, Custom]. |
defaultRoles[].roleId |
String |
true |
|
defaultRoles[].createdBy |
String |
true |
|
defaultRoles[].createdAt |
Object |
true |
|
defaultRoles[].deletedAt |
Object |
true |
|
defaultRoles[].deletedBy |
String |
true |
|
defaultRoles[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
mfaProvider |
String |
true |
Must be one of [None, GoogleAuthenticator]. |
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/3596ccff-80f6-4806-8b00-8ccd3e382f22/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0ConnectionId" : "auth0-opaque-connection",
"identityProviderName" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1232
{
"id" : "3596ccff-80f6-4806-8b00-8ccd3e382f22",
"realmId" : "6daea355-b87b-4bb5-a014-e824562985e5",
"name" : "World Wide Imports",
"label" : "WW-Imports-376",
"identityProviders" : [ {
"id" : "9e176336-b381-42d6-9579-bdef6e68556b",
"organizationId" : "3596ccff-80f6-4806-8b00-8ccd3e382f22",
"auth0ConnectionId" : "auth0-opaque-connectionId-377",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 648753000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "6b4ac927-e5d8-4464-ab69-316ef05f9496",
"organizationId" : "3596ccff-80f6-4806-8b00-8ccd3e382f22",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 666453000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 647378000,
"epochSecond" : 1790623114
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}
OIDC Issuers
Find Oidc Issuers
GET /oidc-issuers
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1219
[ {
"id" : "18807a51-aa99-4f58-a756-0e13e609e9c5",
"issuer" : "https://ffb45538-326d-491b-8fc5-bd1b2fb428d2.issuer.idp",
"jwksUri" : "https://ffb45538-326d-491b-8fc5-bd1b2fb428d2.issuer.idp/jwks",
"active" : true,
"createdBy" : "b6e34ad8-7e4b-43b7-a6a2-f02bf732b7ae",
"createdAt" : {
"nano" : 355404000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6c72dba0-a155-4804-9a70-89da12149793",
"issuer" : "https://accounts.google.com",
"jwksUri" : "https://www.googleapis.com/oauth2/v3/certs",
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 272185000,
"epochSecond" : 1790623044
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "76c4c573-0688-45ed-8d8d-6923a88e3653",
"issuer" : "https://87648ca7-799b-448a-91a5-16f3bc191410.issuer.idp",
"jwksUri" : "https://87648ca7-799b-448a-91a5-16f3bc191410.issuer.idp/jwks",
"active" : true,
"createdBy" : "bf6499d6-716e-45a1-aba9-f4e7b5bce30c",
"createdAt" : {
"nano" : 664345000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Issuer
GET /oidc-issuers/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/9b45df53-0ff8-464c-8ffe-020aee58b5da' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "9b45df53-0ff8-464c-8ffe-020aee58b5da",
"issuer" : "https://c65c37f3-4c16-43d3-a5e0-11e4139405d0.issuer.idp",
"jwksUri" : "https://c65c37f3-4c16-43d3-a5e0-11e4139405d0.issuer.idp/jwks",
"active" : true,
"createdBy" : "551d9019-523c-499e-8064-057f8a8d7af5",
"createdAt" : {
"nano" : 277614000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Issuer
POST /oidc-issuers
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://ebe20799-41e7-4dd6-bb3c-1b23f8228097.issuer.idp",
"jwksUri" : "https://ebe20799-41e7-4dd6-bb3c-1b23f8228097.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "82d8822b-c508-4811-b5ba-f80e09faf1df",
"issuer" : "https://ebe20799-41e7-4dd6-bb3c-1b23f8228097.issuer.idp",
"jwksUri" : "https://ebe20799-41e7-4dd6-bb3c-1b23f8228097.issuer.idp/jwks",
"active" : true,
"createdBy" : "57b155d7-414c-4570-b17f-675925348b89",
"createdAt" : {
"nano" : 242323000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Issuer
PATCH /oidc-issuers/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/ac4b3c10-b5ae-48df-aacb-e0076bd4aeaf' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://f377778a-d5b0-4c2a-843e-51b6aad5b1de.issuer.idp",
"jwksUri" : "https://f377778a-d5b0-4c2a-843e-51b6aad5b1de.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "ac4b3c10-b5ae-48df-aacb-e0076bd4aeaf",
"issuer" : "https://f377778a-d5b0-4c2a-843e-51b6aad5b1de.issuer.idp",
"jwksUri" : "https://f377778a-d5b0-4c2a-843e-51b6aad5b1de.issuer.idp/jwks",
"active" : false,
"createdBy" : "525c7f15-9f9d-4af4-b997-2790a070589d",
"createdAt" : {
"nano" : 189447000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Issuer
DELETE /oidc-issuers/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
issuer |
String |
true |
|
jwksUri |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-issuers/c4769029-1575-47e4-a60f-5b1c12bbe952' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "c4769029-1575-47e4-a60f-5b1c12bbe952",
"issuer" : "https://820173a8-577b-43e9-bda7-4d3436e380b2.issuer.idp",
"jwksUri" : "https://820173a8-577b-43e9-bda7-4d3436e380b2.issuer.idp/jwks",
"active" : true,
"createdBy" : "a1af2776-5718-4301-b916-5e7572292279",
"createdAt" : {
"nano" : 317975000,
"epochSecond" : 1790623113
},
"deletedAt" : {
"nano" : 328000000,
"epochSecond" : 1790623113
},
"deletedBy" : "ec94d2f6-9cd7-445e-86d6-a1e5199455ef",
"deleted" : true
}
OIDC Public Clients
Find Oidc Public Clients
GET /oidc-public-clients
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2070
[ {
"id" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://{auth0-tenant}.auth0.com/authorize",
"tokenEndpoint" : "https://{auth0-tenant}.auth0.com/oauth/token",
"userInfoEndpoint" : "https://{auth0-tenant}.auth0.com/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 274096000,
"epochSecond" : 1790623044
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "68e349dd-736a-4a5c-9fd4-efafda45d987",
"oidcIssuerId" : "c2dfbb4f-d114-4d1d-b69e-3338846ffd70",
"clientId" : "clientId-77ee77d2-a582-4179-ace3-029b42a80649",
"clientSecret" : "clientSecret-0896da43-e179-4a0b-a11e-792840c38b56",
"authorizationEndpoint" : "https://40a85952-c35f-44be-9447-c80c63c129e1.issuer.idp/authorize",
"tokenEndpoint" : "https://40a85952-c35f-44be-9447-c80c63c129e1.issuer.idp/token",
"userInfoEndpoint" : "https://40a85952-c35f-44be-9447-c80c63c129e1.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "7f5b967d-783c-4809-a6f0-5df64a7498ac",
"createdAt" : {
"nano" : 403641000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"clientId" : "{clientId}",
"clientSecret" : "{clientSecret}",
"authorizationEndpoint" : "https://accounts.google.com/o/oauth2/v2/auth",
"tokenEndpoint" : "https://oauth2.googleapis.com/token",
"userInfoEndpoint" : "https://openidconnect.googleapis.com/v1/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 274096000,
"epochSecond" : 1790623044
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Public Client
GET /oidc-public-clients/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/d2138563-b136-4afd-bcfa-ce2d33782a43' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "d2138563-b136-4afd-bcfa-ce2d33782a43",
"oidcIssuerId" : "416a80ad-af07-44fd-a005-2e41ebdffdec",
"clientId" : "clientId-5a9f053c-09c5-4958-9000-5d7b8ba044ce",
"clientSecret" : "clientSecret-8c363672-905a-41d7-8ce8-ee6516cee910",
"authorizationEndpoint" : "https://a82899bc-758b-47fa-a2d2-39ea1950c819.issuer.idp/authorize",
"tokenEndpoint" : "https://a82899bc-758b-47fa-a2d2-39ea1950c819.issuer.idp/token",
"userInfoEndpoint" : "https://a82899bc-758b-47fa-a2d2-39ea1950c819.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "cd733ded-f399-4cfb-85c8-9f92bd638817",
"createdAt" : {
"nano" : 781403000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Public Client
POST /oidc-public-clients
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "f7f6682e-0a57-4c93-aed8-a1402500409e",
"clientId" : "clientId-0631d9a2-7c82-4ca7-97c3-0754276d07ae",
"clientSecret" : "clientSecret-0ba51af0-32e8-4037-adcf-60bb5f759884",
"authorizationEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/authorize",
"tokenEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/token",
"userInfoEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "c662a6f1-669c-4d5e-a3d2-e21910462d09",
"oidcIssuerId" : "f7f6682e-0a57-4c93-aed8-a1402500409e",
"clientId" : "clientId-0631d9a2-7c82-4ca7-97c3-0754276d07ae",
"clientSecret" : "clientSecret-0ba51af0-32e8-4037-adcf-60bb5f759884",
"authorizationEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/authorize",
"tokenEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/token",
"userInfoEndpoint" : "https://d8b96c51-e2da-45f1-91bb-b64223e110bc.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "188ca38f-39bb-4466-aa33-d0f214d9244b",
"createdAt" : {
"nano" : 731819000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Public Client
PATCH /oidc-public-clients/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/284d1c80-256a-44a7-a867-32f276d46209' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-f06f7f48-7369-4975-85a1-2dde96b61556",
"clientSecret" : "clientSecret-92cd20c6-bdd6-4109-83f0-48f36e8e49d3",
"authorizationEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/authorize",
"tokenEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/token",
"userInfoEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "284d1c80-256a-44a7-a867-32f276d46209",
"oidcIssuerId" : "87110016-f6a4-449d-a989-427468ae2a1b",
"clientId" : "clientId-f06f7f48-7369-4975-85a1-2dde96b61556",
"clientSecret" : "clientSecret-92cd20c6-bdd6-4109-83f0-48f36e8e49d3",
"authorizationEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/authorize",
"tokenEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/token",
"userInfoEndpoint" : "https://d7d40b31-59e2-4170-ba6f-f91e4f0d0078.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "3bd6cb79-87e3-4b99-adf9-7658a39f481e",
"createdAt" : {
"nano" : 644952000,
"epochSecond" : 1790623113
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Public Client
DELETE /oidc-public-clients/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
clientId |
String |
true |
|
clientSecret |
String |
true |
|
authorizationEndpoint |
String |
true |
|
tokenEndpoint |
String |
true |
|
userInfoEndpoint |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-public-clients/90647bb9-7158-4441-89fe-2bfc61011535' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "90647bb9-7158-4441-89fe-2bfc61011535",
"oidcIssuerId" : "ef7e466c-0d4b-4ab4-9fbc-3306a8a692a3",
"clientId" : "clientId-3097d31a-f8e3-43ff-b2bb-5eaf4d9f865d",
"clientSecret" : "clientSecret-a652af49-f135-4724-a3fb-c7a1d7321f32",
"authorizationEndpoint" : "https://c20d11c9-cb49-499a-aaa1-df703d22f679.issuer.idp/authorize",
"tokenEndpoint" : "https://c20d11c9-cb49-499a-aaa1-df703d22f679.issuer.idp/token",
"userInfoEndpoint" : "https://c20d11c9-cb49-499a-aaa1-df703d22f679.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "7aa3bdd9-2db2-4822-8248-f77a885fdaf4",
"createdAt" : {
"nano" : 825735000,
"epochSecond" : 1790623113
},
"deletedAt" : {
"nano" : 836350000,
"epochSecond" : 1790623113
},
"deletedBy" : "b15f08b2-45f5-4f75-a9da-a57ba0e9d19e",
"deleted" : true
}
Organization to OIDC Public Client Mappings
Find Organization Oidc Public Client Mappings
GET /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1618
[ {
"id" : "10b36688-b7bb-4f1b-9276-aef145a94c43",
"organizationId" : "f2f90365-8c3a-403c-b1bc-caaa0f5d039d",
"oidcPublicClientId" : "4dfa32bb-d9f0-45fb-9498-c607cad8edcf",
"name" : "console-client-19b1263b-d49b-46a6-a928-b09d0fff9790",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "104f7091-32aa-4d85-96bf-c645cff677bc",
"createdAt" : {
"nano" : 992960000,
"epochSecond" : 1790623114
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "36a4b551-396f-4481-bf6e-eb45bc529bbe",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "NFSUPPORT Google Account",
"active" : true,
"customQueryParameters" : "{\"audience\": \"https://gateway.{env}.netfoundry.io/\", \"connection\": \"google-oauth2\"}",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 839215000,
"epochSecond" : 1790623043
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4a04a24d-b54f-4186-8363-396b03f64826",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "NetFoundry Google Account",
"active" : true,
"customQueryParameters" : "{\"audience\": \"https://gateway.{env}.netfoundry.io/\", \"connection\": \"google-oauth2\"}",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 940823000,
"epochSecond" : 1790623043
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Organization Oidc Public Client Mapping
GET /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
readaction on thisorganization-oidc-public-client-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/efa645b8-b03a-4a43-8990-4ffb113af40f' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "efa645b8-b03a-4a43-8990-4ffb113af40f",
"organizationId" : "9982fe79-f148-4992-b7f2-825bc161f82e",
"oidcPublicClientId" : "f787c696-39d8-49d9-a9d1-98a97d8de2fa",
"name" : "console-client-db45ae02-5f12-4610-9f46-de8fbefdbe49",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "f65ad7ce-3bd3-481d-ad9d-ce9da871f190",
"createdAt" : {
"nano" : 499674000,
"epochSecond" : 1790623115
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Organization Oidc Public Client Mapping
POST /organization-oidc-public-client-mappings
Authorization
This endpoint requires:
-
createaction on thisorganization-oidc-public-client-mappingresource. -
readaction on theoidc-public-clientresource identified by theoidcPublicClientIdproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "678c37d0-aca6-4480-8ce9-2778de60ed0e",
"oidcPublicClientId" : "8d68bc76-ee35-4f14-bb70-f4e0299eaeb7",
"name" : "console-client-f8aecdbc-9c7b-4500-a460-e48a5b30b3a0",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 495
{
"id" : "3132ef47-2e03-4ec5-bbc5-0ec930093b86",
"organizationId" : "678c37d0-aca6-4480-8ce9-2778de60ed0e",
"oidcPublicClientId" : "8d68bc76-ee35-4f14-bb70-f4e0299eaeb7",
"name" : "console-client-f8aecdbc-9c7b-4500-a460-e48a5b30b3a0",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "f669e998-b584-4ec2-80ae-a7c328d5051d",
"createdAt" : {
"nano" : 431244000,
"epochSecond" : 1790623115
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Organization Oidc Public Client Mapping
PATCH /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisorganization-oidc-public-client-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/728b45cb-f64f-4834-9bfd-080106ec0d31' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-2738d7cf-676e-4869-9423-5f3265b01b1a",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "728b45cb-f64f-4834-9bfd-080106ec0d31",
"organizationId" : "a08ac25b-63e9-4d99-8a96-3f8551ab5288",
"oidcPublicClientId" : "555edc21-74f1-4de3-9cad-df721b44fcf9",
"name" : "custom-client-2738d7cf-676e-4869-9423-5f3265b01b1a",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "0abc8550-ea99-420a-a923-b70e73d88d2b",
"createdAt" : {
"nano" : 285444000,
"epochSecond" : 1790623115
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Organization Oidc Public Client Mapping
DELETE /organization-oidc-public-client-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisorganization-oidc-public-client-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
oidcPublicClientId |
String |
true |
|
name |
String |
true |
|
active |
Boolean |
true |
|
customQueryParameters |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-oidc-public-client-mappings/bdf2fb53-05d6-41c2-ae75-43e38d7cf993' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "bdf2fb53-05d6-41c2-ae75-43e38d7cf993",
"organizationId" : "7614c4c3-9e6f-4a2a-9b02-60eb17a35ccf",
"oidcPublicClientId" : "d8e6ed8d-fb4d-425b-98da-3b2f7dc3225c",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "ec048c5e-3a50-4b26-82d1-dc6d0213556b",
"createdAt" : {
"nano" : 613548000,
"epochSecond" : 1790623115
},
"deletedAt" : {
"nano" : 625614000,
"epochSecond" : 1790623115
},
"deletedBy" : "d1481770-7e7f-4d59-9264-a683a1db2f5e",
"deleted" : true
}
OIDC Audiences
Find Oidc Audiences
GET /oidc-audiences
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1282
[ {
"id" : "6a4f65ad-9db8-4ea7-b404-1d5c5f85cbdf",
"oidcIssuerId" : "fc221f2c-e97f-4994-a29e-afc26395f6b6",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 282667000,
"epochSecond" : 1790623044
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "b71d8edd-6bf1-4ed3-84e8-f3b5fe82868f",
"oidcIssuerId" : "6c72dba0-a155-4804-9a70-89da12149793",
"audience" : "https://gateway.{env}.netfoundry.io/",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 282667000,
"epochSecond" : 1790623044
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "d7719d27-6ef6-43bd-bcbd-167046dcdda1",
"oidcIssuerId" : "18807a51-aa99-4f58-a756-0e13e609e9c5",
"audience" : "mop-aud-6d9c2686-d5cd-4410-8910-5a5c33566577",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "d1318604-7e57-4f9b-944b-12ee48d53a40",
"createdAt" : {
"nano" : 365191000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Oidc Audience
GET /oidc-audiences/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/e72d79c9-35be-4920-b895-357fe408fda5' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "e72d79c9-35be-4920-b895-357fe408fda5",
"oidcIssuerId" : "f7d65e56-b452-48b0-a34a-bfe044c649f0",
"audience" : "mop-aud-786d0ec8-3c22-4a33-b74b-2440c1374d7e",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "f243660c-12cd-41d9-8ee2-3338c568939a",
"createdAt" : {
"nano" : 851532000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Oidc Audience
POST /oidc-audiences
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"oidcIssuerId" : "ea19a5ca-4ecf-4118-8a1b-71820e0ce0e3",
"audience" : "mop-aud-d093f137-cb50-4c99-b80b-90264b98beed",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "8e75498b-74ab-4692-9ac9-4c0995ec38dc",
"oidcIssuerId" : "ea19a5ca-4ecf-4118-8a1b-71820e0ce0e3",
"audience" : "mop-aud-d093f137-cb50-4c99-b80b-90264b98beed",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "35ea3853-9fa0-43e7-aecf-5f782549f97b",
"createdAt" : {
"nano" : 772184000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update Oidc Audience
PATCH /oidc-audiences/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/301b9208-1223-45e2-8819-0b174256192a' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-88195fa6-fefd-44ce-8248-cdf4d3974ac4",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "301b9208-1223-45e2-8819-0b174256192a",
"oidcIssuerId" : "76c4c573-0688-45ed-8d8d-6923a88e3653",
"audience" : "mop-aud-88195fa6-fefd-44ce-8248-cdf4d3974ac4",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "65cc1ab8-1da3-41d0-844b-acbbd7f0c463",
"createdAt" : {
"nano" : 666921000,
"epochSecond" : 1790623112
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Oidc Audience
DELETE /oidc-audiences/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
oidcIssuerId |
String |
true |
|
audience |
String |
true |
|
restrictedToOrganizationIds |
Array[Object] |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/oidc-audiences/0e453cc9-2044-48c1-b283-c787bc1a47f2' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "0e453cc9-2044-48c1-b283-c787bc1a47f2",
"oidcIssuerId" : "ae0bf69d-5bb0-425f-a34a-a66520c32ade",
"audience" : "mop-aud-5a723f14-3458-49db-9196-b1d9bbebf449",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ac14a421-6e59-46b8-9948-341a714af395",
"createdAt" : {
"nano" : 910199000,
"epochSecond" : 1790623112
},
"deletedAt" : {
"nano" : 934133000,
"epochSecond" : 1790623112
},
"deletedBy" : "b0b77811-f4cc-400b-bab1-805c24fc19c5",
"deleted" : true
}
User Identity to OIDC Audience Mappings
Find User Identity Audience Mappings
GET /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3
[ ]
Get User Identity Audience Mapping
GET /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
readaction on thisuser-identity-oidc-audience-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/53e8b6f3-8258-44aa-8ee5-301349519bcc' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "53e8b6f3-8258-44aa-8ee5-301349519bcc",
"userIdentityId" : "8258e41a-4681-4f16-a4db-190cd1f9eb39",
"oidcAudienceId" : "ca645d01-261e-4ef7-b9d2-4dbad8ff021d",
"subject" : "console-client-46a89f9b-e487-41ab-9dbc-6ceea6aaa4aa",
"active" : true,
"createdBy" : "9a96b91a-ff7f-47da-8798-4de9c4fae572",
"createdAt" : {
"nano" : 745448000,
"epochSecond" : 1790623119
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create User Identity Audience Mapping
POST /user-identity-oidc-audience-mappings
Authorization
This endpoint requires:
-
createaction on thisuser-identity-oidc-audience-mappingresource. -
create-identity-mappingaction on theuser-identityresource identified by theuserIdentityIdproperty. -
readaction on theoidc-audienceresource identified by theoidcAudienceIdproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : "2ba44030-2f59-4e08-98c1-0fbf3b60f4a3",
"oidcAudienceId" : "bfb749a7-0e0c-4b13-a892-108946373b8c",
"subject" : "console-client-97170ef8-c53f-458a-8632-b337e1b5bbf0",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "df334aeb-c656-4af6-bce5-f62677d3cb42",
"userIdentityId" : "2ba44030-2f59-4e08-98c1-0fbf3b60f4a3",
"oidcAudienceId" : "bfb749a7-0e0c-4b13-a892-108946373b8c",
"subject" : "console-client-97170ef8-c53f-458a-8632-b337e1b5bbf0",
"active" : true,
"createdBy" : "096418c7-54e8-4861-aebc-363947ca2fef",
"createdAt" : {
"nano" : 698838000,
"epochSecond" : 1790623119
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Update User Identity Audience Mapping
PATCH /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
updateaction on thisuser-identity-oidc-audience-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
active |
Boolean |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/e9faaa66-699d-470d-941c-07d8602ebe19' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 461
{
"id" : "e9faaa66-699d-470d-941c-07d8602ebe19",
"userIdentityId" : "24daf64e-f16a-4984-8e75-e00f3d1434f7",
"oidcAudienceId" : "7986ab6d-d02c-4773-a14e-380f234c8323",
"subject" : "console-client-d706b7d5-757f-4a8f-8507-60e4e537bf57",
"active" : false,
"createdBy" : "4c4cd771-6bc8-4acd-9993-764d72bc939a",
"createdAt" : {
"nano" : 609215000,
"epochSecond" : 1790623119
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete User Identity Audience Mapping
DELETE /user-identity-oidc-audience-mappings/{id}
Authorization
This endpoint requires:
-
deleteaction on thisuser-identity-oidc-audience-mappingresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
oidcAudienceId |
String |
true |
|
subject |
String |
true |
|
active |
Boolean |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identity-oidc-audience-mappings/14afe6fa-3065-4d12-a4eb-f93b921054a3' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "14afe6fa-3065-4d12-a4eb-f93b921054a3",
"userIdentityId" : "d8cd3043-2070-4d2c-a995-63827af34e53",
"oidcAudienceId" : "ac21721e-4718-452b-b115-0571dc3fd0c0",
"subject" : "console-client-4769e14c-8d6e-43d9-b342-4628e2b12990",
"active" : true,
"createdBy" : "813cc3f0-e3dd-4ed7-a8e4-969ceaa4d2f6",
"createdAt" : {
"nano" : 819710000,
"epochSecond" : 1790623119
},
"deletedAt" : {
"nano" : 834037000,
"epochSecond" : 1790623119
},
"deletedBy" : "af187ad7-f35e-4cd8-b93b-a92291738e2f",
"deleted" : true
}
Identity Providers
Find Identity Providers
GET /identity-providers
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
organizationId |
Object |
true |
|
auth0ConnectionId |
Object |
true |
|
auth0ConnectionType |
Object |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
deleted |
Object |
true |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1184
[ {
"id" : "36a4b551-396f-4481-bf6e-eb45bc529bbe",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"auth0ConnectionId" : "google-oauth2",
"name" : "NFSUPPORT Google Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 839215000,
"epochSecond" : 1790623043
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "41d80c33-fcb8-4403-bad6-b40f6ef08c71",
"organizationId" : "1b7c9d95-908d-4491-92bc-f61fb5870a52",
"auth0ConnectionId" : "auth0-opaque-connectionId-266",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : false,
"createdAt" : {
"nano" : 432075000,
"epochSecond" : 1790623105
},
"updatedAt" : {
"nano" : 468933000,
"epochSecond" : 1790623105
},
"deletedAt" : null
}, {
"id" : "4a04a24d-b54f-4186-8363-396b03f64826",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"auth0ConnectionId" : "google-oauth2",
"name" : "NetFoundry Google Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 940823000,
"epochSecond" : 1790623043
},
"updatedAt" : null,
"deletedAt" : null
} ]
Get Identity Provider
GET /identity-providers/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/9129c1f3-8ea3-4151-b0b1-a656c53259c7' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 394
{
"id" : "9129c1f3-8ea3-4151-b0b1-a656c53259c7",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 479417000,
"epochSecond" : 1790623048
},
"updatedAt" : null,
"deletedAt" : null
}
Create Identity Provider
POST /identity-providers
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "76e87dbb-d99a-45b9-a5ce-e01c69fc8ff7",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "727c6469-eb7a-4d73-ad5e-72998e72de25",
"organizationId" : "76e87dbb-d99a-45b9-a5ce-e01c69fc8ff7",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 534193000,
"epochSecond" : 1790623105
},
"updatedAt" : null,
"deletedAt" : null
}
Update Identity Provider
PUT /identity-providers/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/e2476023-cc01-4a49-95e0-c175d2a3137e' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "New IdP Name"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "e2476023-cc01-4a49-95e0-c175d2a3137e",
"organizationId" : "a442f085-1dc5-46b4-9195-ef66f6444c01",
"auth0ConnectionId" : "auth0-opaque-connectionId-276",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 793283000,
"epochSecond" : 1790623105
},
"updatedAt" : {
"nano" : 830583000,
"epochSecond" : 1790623105
},
"deletedAt" : null
}
Activate Or Deactivate Identity Provider
PUT /identity-providers/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/d4e29d75-7938-4282-9cd3-0a0f4af6c893/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "d4e29d75-7938-4282-9cd3-0a0f4af6c893",
"organizationId" : "4b1f714b-3f76-4e7c-a2e8-17c750148418",
"auth0ConnectionId" : "auth0-opaque-connectionId-270",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 620991000,
"epochSecond" : 1790623105
},
"updatedAt" : null,
"deletedAt" : null
}
Delete Identity Provider
DELETE /identity-providers/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/2bdb634d-f9b5-4702-94b9-f05c1901c722' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "2bdb634d-f9b5-4702-94b9-f05c1901c722",
"organizationId" : "2da85c07-3329-426e-9346-cefb02612e9e",
"auth0ConnectionId" : "auth0-opaque-connectionId-274",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 744624000,
"epochSecond" : 1790623105
},
"updatedAt" : {
"nano" : 757281000,
"epochSecond" : 1790623105
},
"deletedAt" : {
"nano" : 756000000,
"epochSecond" : 1790623105
}
}
Default Roles
Find Default Roles
GET /default-roles
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1341
[ {
"id" : "0012e1b5-8a61-43b2-b29c-3598de82dcc9",
"organizationId" : "821d8d15-ad3e-4b3e-8ac5-ab33b1663789",
"name" : "Custom Role - a58c7440-8adc-47e5-904b-86e3cee5c387",
"roleType" : "Custom",
"roleId" : "a58c7440-8adc-47e5-904b-86e3cee5c387",
"createdBy" : "a3cd6668-09e5-4943-8f3e-dab3168b326d",
"createdAt" : {
"nano" : 530521000,
"epochSecond" : 1790623100
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "05d544d8-d7be-4f10-891b-62df9e481fa1",
"organizationId" : "90bb996f-72ec-4a14-9d13-ba1a0d429dbf",
"name" : "Standard Role - e5dbfff5-06c4-43c5-bd16-85e92839108a",
"roleType" : "Standard",
"roleId" : "e5dbfff5-06c4-43c5-bd16-85e92839108a",
"createdBy" : "5692ddc5-96ae-46a7-b48b-f309ac5f8d3a",
"createdAt" : {
"nano" : 640030000,
"epochSecond" : 1790623100
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "0f03286d-f9fa-49ae-b479-812d57fa7d35",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"name" : "Cloud Engineering",
"roleType" : "Custom",
"roleId" : "8f1493a4-29ca-4b34-8d04-b6ef954b097c",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 449806000,
"epochSecond" : 1790623099
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ]
Get Default Role
GET /default-roles/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/6c184b45-d38c-450d-8f04-7917817b0aaf' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "6c184b45-d38c-450d-8f04-7917817b0aaf",
"organizationId" : "821d8d15-ad3e-4b3e-8ac5-ab33b1663789",
"name" : "Standard Role - 9bff2693-80f5-4c24-9a41-aa007ad75d54",
"roleType" : "Standard",
"roleId" : "9bff2693-80f5-4c24-9a41-aa007ad75d54",
"createdBy" : "a49def9d-5e89-4701-a1e7-a52eceeecfbf",
"createdAt" : {
"nano" : 526713000,
"epochSecond" : 1790623100
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Create Default Role
POST /default-roles
Authorization
This endpoint requires:
-
createaction on thisdefault-roleresource. -
updateaction on theorganizationresource identified by theorganizationproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "c67da2ba-27e7-4dd7-8c06-e7d1efa52dc0",
"roleType" : "Standard",
"roleId" : "5102becb-32b7-4c83-8483-b9ecf838a1a8"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "4c50f247-438c-4e65-8e17-e961925a4a93",
"organizationId" : "c67da2ba-27e7-4dd7-8c06-e7d1efa52dc0",
"name" : "Standard Role - 5102becb-32b7-4c83-8483-b9ecf838a1a8",
"roleType" : "Standard",
"roleId" : "5102becb-32b7-4c83-8483-b9ecf838a1a8",
"createdBy" : "0a0351a5-eff6-419c-861e-86caa5bde6f5",
"createdAt" : {
"nano" : 546163000,
"epochSecond" : 1790623101
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}
Delete Default Role
DELETE /default-roles/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
name |
String |
true |
|
roleType |
String |
true |
Must be one of [Standard, Custom]. |
roleId |
String |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deleted |
Boolean |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/59307ece-25a1-4e81-83d0-22a474675eef' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "59307ece-25a1-4e81-83d0-22a474675eef",
"organizationId" : "821d8d15-ad3e-4b3e-8ac5-ab33b1663789",
"name" : "Standard Role - c752f977-05f8-41ed-98fe-88fad92df2a2",
"roleType" : "Standard",
"roleId" : "c752f977-05f8-41ed-98fe-88fad92df2a2",
"createdBy" : "7ce092d5-7f26-4fd0-8d7c-84c1c3dd31a7",
"createdAt" : {
"nano" : 265733000,
"epochSecond" : 1790623101
},
"deletedAt" : {
"nano" : 285000000,
"epochSecond" : 1790623101
},
"deletedBy" : "1c4e7d72-2e93-44ab-b391-700e4637316a",
"deleted" : true
}
Grant Default Role
POST /default-roles/{id}/grant
Authorization
This endpoint requires:
-
readaction on thisdefault-roleresource. -
createaction on theinvitationresource identified by theorganizationproperty.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
No request body.
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/default-roles/05d544d8-d7be-4f10-891b-62df9e481fa1/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "16fcc028-1801-4389-860b-2e434232a463", "73d01777-c9a2-4e60-8a81-11094f5d546e", "d84320bf-eec3-429f-a757-faf1994bfed8" ],
"excludeIdentityIds" : [ "4862b2a6-3415-47c5-b11e-4b28d1c4bab4", "16fcc028-1801-4389-860b-2e434232a463", "d84320bf-eec3-429f-a757-faf1994bfed8" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"73d01777-c9a2-4e60-8a81-11094f5d546e" : true
}
User Identity
Get Identity
GET /identities/self
Authorization
This endpoint requires no specific permission, only an authenticated client.
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
active |
Boolean |
true |
|
organizationId |
String |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/self' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 778
{
"id" : "56640d8d-91d2-44a2-8380-4c0bc316fb0e",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-454@acme.com",
"identityMappings" : [ {
"id" : "e96cc113-1e2b-4644-9bde-dcbbd4568c5f",
"auth0UserId" : "auth0-opaque-userId-455",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "56640d8d-91d2-44a2-8380-4c0bc316fb0e"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 994475000,
"epochSecond" : 1790623117
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "First Last",
"type" : "UserIdentity"
}
Get Identity
GET /identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
active |
Boolean |
true |
|
organizationId |
String |
true |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/91c36a10-0ce9-4b25-92ea-47621ea671ea' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 772
{
"id" : "91c36a10-0ce9-4b25-92ea-47621ea671ea",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "e9520ebb-f753-44b3-a389-61e9b82e0f1c",
"auth0UserId" : "auth0-opaque-userId-323",
"identityProviderId" : "2d3c340b-9928-47b0-9139-f8e8f11a6f76",
"userIdentityId" : "91c36a10-0ce9-4b25-92ea-47621ea671ea"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 640783000,
"epochSecond" : 1790623110
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "John Doe",
"type" : "UserIdentity"
}
Find User Identities
GET /user-identities
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/user-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/user-identities?page=1>; rel="last"
Content-Type: application/json
Content-Length: 2345
[ {
"id" : "01000557-369f-4e0f-ba2c-d1ece29329b9",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "3bd93b97-11f9-4bbc-9678-805e64c1df88",
"auth0UserId" : "auth0-opaque-userId-451",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "01000557-369f-4e0f-ba2c-d1ece29329b9"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 796790000,
"epochSecond" : 1790623117
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "Bobby White",
"type" : "UserIdentity"
}, {
"id" : "130080da-cbe1-4bda-8dc1-473b70d346ec",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-336@acme.com",
"identityMappings" : [ {
"id" : "dee31130-f4a0-41a4-995e-37343bd2a3c1",
"auth0UserId" : "auth0-opaque-userId-337",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "130080da-cbe1-4bda-8dc1-473b70d346ec"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 442147000,
"epochSecond" : 1790623111
},
"deletedAt" : null,
"invited" : true,
"tags" : { },
"status" : "PENDING",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "18d6a6b8-a082-4986-957b-e4ccf5a56b6d",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-345@acme.com",
"identityMappings" : [ {
"id" : "82d7cc8c-e82a-455d-ba21-2ebe3d96f427",
"auth0UserId" : "auth0-opaque-userId-346",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "18d6a6b8-a082-4986-957b-e4ccf5a56b6d"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 778705000,
"epochSecond" : 1790623111
},
"deletedAt" : null,
"invited" : true,
"tags" : { },
"status" : "PENDING",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "First Last",
"type" : "UserIdentity"
} ]
Get User Identity
GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/91c36a10-0ce9-4b25-92ea-47621ea671ea' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 772
{
"id" : "91c36a10-0ce9-4b25-92ea-47621ea671ea",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "e9520ebb-f753-44b3-a389-61e9b82e0f1c",
"auth0UserId" : "auth0-opaque-userId-323",
"identityProviderId" : "2d3c340b-9928-47b0-9139-f8e8f11a6f76",
"userIdentityId" : "91c36a10-0ce9-4b25-92ea-47621ea671ea"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 640783000,
"epochSecond" : 1790623110
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "John Doe",
"type" : "UserIdentity"
}
Get User Identity By Mapping
GET /user-identities/mapping/{auth0UserId}/{identityProviderId}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
auth0UserId |
String |
false |
|
identityProviderId |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-323/2d3c340b-9928-47b0-9139-f8e8f11a6f76' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 772
{
"id" : "91c36a10-0ce9-4b25-92ea-47621ea671ea",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "e9520ebb-f753-44b3-a389-61e9b82e0f1c",
"auth0UserId" : "auth0-opaque-userId-323",
"identityProviderId" : "2d3c340b-9928-47b0-9139-f8e8f11a6f76",
"userIdentityId" : "91c36a10-0ce9-4b25-92ea-47621ea671ea"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 640783000,
"epochSecond" : 1790623110
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "John Doe",
"type" : "UserIdentity"
}
Create Identity
POST /user-identities
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"tags" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 538
{
"id" : "caf789f9-855a-4763-be14-ca6d64b79990",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 99113000,
"epochSecond" : 1790623119
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "Jane Doe",
"type" : "UserIdentity"
}
Update
PUT /user-identities/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/42fcb709-8d89-4a49-a17d-c009dc954815' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"tags" : null
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 781
{
"id" : "42fcb709-8d89-4a49-a17d-c009dc954815",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "9253f109-190b-45a0-81d8-58f2ccfd732c",
"auth0UserId" : "auth0-opaque-userId-467",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "42fcb709-8d89-4a49-a17d-c009dc954815"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 581917000,
"epochSecond" : 1790623118
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "Bobby White",
"type" : "UserIdentity"
}
Activate Or Deactivate User Identity
PUT /user-identities/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/1652dfd4-de9a-401e-9658-01cf5b528bf1/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 781
{
"id" : "1652dfd4-de9a-401e-9658-01cf5b528bf1",
"organizationId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-470@acme.com",
"identityMappings" : [ {
"id" : "3f20e34e-3b0d-4812-bad8-3c4bfa167ec9",
"auth0UserId" : "auth0-opaque-userId-471",
"identityProviderId" : "a1dd08bc-f57e-4f3d-be96-d45dc6a88f2a",
"userIdentityId" : "1652dfd4-de9a-401e-9658-01cf5b528bf1"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 716921000,
"epochSecond" : 1790623118
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "INACTIVE",
"tenantId" : "512b6564-3cf5-4c10-a725-abda5a08d337",
"name" : "First Last",
"type" : "UserIdentity"
}
Reset User Identity Mfa Settings
PUT /user-identities/{id}/reset-mfa
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/57e87ba7-cb75-4032-a18a-1329df84e8b3/reset-mfa' -i -X PUT
Example response
HTTP/1.1 200 OK
Delete User Identity Passkeys
DELETE /user-identities/{id}/passkeys
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/4a6d82e1-73e8-4ef6-ac2c-89ab996fc5b6/passkeys' -i -X DELETE
Example response
HTTP/1.1 204 No Content
Map Identity
POST /user-identities/{id}/mapping
Authorization
This endpoint requires:
-
create-identity-mappingaction on thisuser-identityresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
auth0UserId |
String |
true |
|
identityProviderId |
String |
true |
Response fields
No response body.
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/ddb48a03-bbb2-4423-a726-f617f5810e8f/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:3fe437bf-c3af-472b-9b4f-14dcb670329a",
"identityProviderId" : "2d3c340b-9928-47b0-9139-f8e8f11a6f76"
}'
Example response
HTTP/1.1 200 OK
API Account Identity
Find Api Account Identities
GET /api-account-identities
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=2>; rel="last"
Content-Type: application/json
Content-Length: 2063
[ {
"id" : "160b1079-820e-4f37-9b5d-bf9def242c7a",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "ebeb1dc8-d330-4d64-a530-ecb8ba03032e",
"awsCognitoClientId" : null,
"authenticationUrl" : "https://netfoundry-sandbox.auth0.com/oauth/token",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 34616000,
"epochSecond" : 1790623054
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "hr.director@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}, {
"id" : "2f0f00f7-7219-4c4d-b902-aec01bbccfc2",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : null,
"awsCognitoClientId" : "da52597e-3537-4ea4-94b5-7aff80b55d78|bhsqpsdt",
"authenticationUrl" : "https://netfoundry-test-jqfmvj.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 845856000,
"epochSecond" : 1790623060
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "a@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}, {
"id" : "34a767b1-bba1-4893-a146-b1ff1cede869",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "c93ae23c-6830-4300-b401-01970ec12aed",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here.",
"active" : true,
"createdAt" : {
"nano" : 678145000,
"epochSecond" : 1790623048
},
"updatedAt" : {
"nano" : 419842000,
"epochSecond" : 1790623049
},
"deletedAt" : null,
"tags" : { },
"email" : "robot@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
} ]
Get Api Account Identity
GET /api-account-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/92fae998-24e8-45d3-a733-3363d7504fc6' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 734
{
"id" : "92fae998-24e8-45d3-a733-3363d7504fc6",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "1ea2539b-5e92-4b97-8778-8768d175a913",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "api-account",
"contactEmail" : "no-reply@acme.com",
"description" : "This is an ACME non-interactive API client.",
"active" : true,
"createdAt" : {
"nano" : 647557000,
"epochSecond" : 1790623048
},
"updatedAt" : {
"nano" : 521287000,
"epochSecond" : 1790623053
},
"deletedAt" : null,
"tags" : { },
"email" : "no-reply@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}
Get Api Account Identity By Mapping
GET /api-account-identities/mapping/{clientId}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
clientId |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/9b75bed3-cba0-43f2-84a0-77edd8f99618' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 697
{
"id" : "e4604896-4e79-4ded-90e8-1193b0975016",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "9b75bed3-cba0-43f2-84a0-77edd8f99618",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-58",
"contactEmail" : "service.admin-59@foo.com",
"description" : "updatable API Account description-60",
"active" : true,
"createdAt" : {
"nano" : 39455000,
"epochSecond" : 1790623091
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "service.admin-59@foo.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}
Create Api Account Identity
POST /api-account-identities
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
grantDefaultRoles |
Boolean |
true |
|
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
apiAccountIdentity |
Object |
true |
|
apiAccountIdentity.id |
String |
true |
|
apiAccountIdentity.organizationId |
String |
true |
|
apiAccountIdentity.auth0ClientId |
String |
true |
|
apiAccountIdentity.awsCognitoClientId |
String |
true |
|
apiAccountIdentity.authenticationUrl |
String |
true |
|
apiAccountIdentity.name |
String |
true |
|
apiAccountIdentity.contactEmail |
String |
true |
|
apiAccountIdentity.description |
String |
true |
|
apiAccountIdentity.active |
Boolean |
true |
|
apiAccountIdentity.createdAt |
Object |
true |
|
apiAccountIdentity.updatedAt |
Object |
true |
|
apiAccountIdentity.deletedAt |
Object |
true |
|
apiAccountIdentity.tags |
Map |
true |
|
apiAccountIdentity.email |
String |
true |
|
apiAccountIdentity.tenantId |
String |
true |
Deprecated.. |
apiAccountIdentity.type |
String |
true |
|
clientId |
String |
true |
|
password |
String |
true |
|
authenticationUrl |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"grantDefaultRoles" : true,
"provider" : "Cognito",
"tags" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 958
{
"apiAccountIdentity" : {
"id" : "7067b1a1-c2c2-43b9-a777-ef83e1ca967e",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : null,
"awsCognitoClientId" : "947f0f34-9f54-434d-b018-35d76a6a27ae|tdtwjprc",
"authenticationUrl" : "https://netfoundry-test-nhuhxu.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 870052000,
"epochSecond" : 1790623055
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "hr.director@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
},
"clientId" : "tdtwjprc",
"password" : "pwxuinprtcxnfwaltseshiyc",
"authenticationUrl" : "https://netfoundry-test-nhuhxu.auth.us-east-1.amazoncognito.com/oauth2/token"
}
Update Identity Info
PUT /api-account-identities/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/34a767b1-bba1-4893-a146-b1ff1cede869' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here.",
"tags" : null
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 696
{
"id" : "34a767b1-bba1-4893-a146-b1ff1cede869",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "c93ae23c-6830-4300-b401-01970ec12aed",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here.",
"active" : true,
"createdAt" : {
"nano" : 678145000,
"epochSecond" : 1790623048
},
"updatedAt" : {
"nano" : 419842000,
"epochSecond" : 1790623049
},
"deletedAt" : null,
"tags" : { },
"email" : "robot@acme.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}
Activate Or Deactivate Api Account Identity
PUT /api-account-identities/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/b23c57ae-fad1-409e-8389-f8799a8e270f/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 755
{
"id" : "b23c57ae-fad1-409e-8389-f8799a8e270f",
"organizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"auth0ClientId" : "e73c5646-4201-4b98-a447-1d33616eca31",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-40",
"contactEmail" : "service.admin-41@foo.com",
"description" : "updatable API Account description-42",
"active" : false,
"createdAt" : {
"nano" : 591044000,
"epochSecond" : 1790623090
},
"updatedAt" : {
"nano" : 611301000,
"epochSecond" : 1790623090
},
"deletedAt" : null,
"tags" : { },
"email" : "service.admin-41@foo.com",
"tenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1877
[ {
"id" : "003798b5-6ca8-44c6-b4e4-ff9b5f2d9a07",
"fromIdentityId" : "6aff2683-897f-43d7-97b3-ccb8db73df43",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee-283@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 256295000,
"epochSecond" : 1791227906
},
"targetUserIdentityId" : "feb841f7-80fb-4c71-a8d1-4787d844403f",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 315464000,
"epochSecond" : 1790623106
},
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Declined"
}, {
"id" : "772a1984-26be-4af1-85a6-bf4da81078b6",
"fromIdentityId" : "1a31c57a-5791-46fc-86ef-d3b4dce30e89",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "acme.cloudziti.io",
"expiration" : {
"nano" : 523364000,
"epochSecond" : 1791227906
},
"targetUserIdentityId" : "6aefc6ee-daed-49c1-b274-184db990da90",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Open"
}, {
"id" : "817de50e-4d6e-4986-889e-22f4b2abf901",
"fromIdentityId" : "6aff2683-897f-43d7-97b3-ccb8db73df43",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee-290@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 719386000,
"epochSecond" : 1791227906
},
"targetUserIdentityId" : "89ba0d6c-e47b-4d5a-9787-205dddb5c7ac",
"accepted" : null,
"revokedAt" : {
"nano" : 733237000,
"epochSecond" : 1790623106
},
"responseReceivedAt" : {
"nano" : 733239000,
"epochSecond" : 1790623106
},
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Revoked"
} ]
Get Invitation By Id
GET /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/596fc25f-457c-41bb-b049-a5da68a59c18' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "596fc25f-457c-41bb-b049-a5da68a59c18",
"fromIdentityId" : "6aff2683-897f-43d7-97b3-ccb8db73df43",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee-303@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 137680000,
"epochSecond" : 1791227907
},
"targetUserIdentityId" : "35585795-dd08-4e1b-af75-da710ad412d8",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Open"
}
Create Invitation
POST /invitations
Authorization
This endpoint requires:
-
createaction on thisinvitationresource. -
readaction on theuser-identityresource identified by thetargetUserIdentityIdproperty.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationUrl |
String |
true |
|
targetUserIdentityId |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.cloudziti.io/invitation",
"targetUserIdentityId" : "6aefc6ee-daed-49c1-b274-184db990da90"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 565
{
"id" : "772a1984-26be-4af1-85a6-bf4da81078b6",
"fromIdentityId" : "1a31c57a-5791-46fc-86ef-d3b4dce30e89",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "acme.cloudziti.io",
"expiration" : {
"nano" : 523364000,
"epochSecond" : 1791227906
},
"targetUserIdentityId" : "6aefc6ee-daed-49c1-b274-184db990da90",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Open"
}
Respond To Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/{action:accept|decline}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/f51c8aec-eba7-4512-acd2-6eb202a297ba/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 625
{
"id" : "f51c8aec-eba7-4512-acd2-6eb202a297ba",
"fromIdentityId" : "6aff2683-897f-43d7-97b3-ccb8db73df43",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee-295@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 907439000,
"epochSecond" : 1791227906
},
"targetUserIdentityId" : "7a593ec9-bafa-463a-adad-7637bb3a0c30",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 920272000,
"epochSecond" : 1790623106
},
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Declined"
}
Revoke Invitation
PUT /invitations/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}/revoke
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/78e53227-723a-44b8-b4bf-c82789b5c524/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "78e53227-723a-44b8-b4bf-c82789b5c524",
"fromIdentityId" : "6aff2683-897f-43d7-97b3-ccb8db73df43",
"toOrganizationId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"invitedEmailAddress" : "new.employee-311@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 274539000,
"epochSecond" : 1791227907
},
"targetUserIdentityId" : "9685cec7-8f2b-42bd-9701-3ff1ef7ff98d",
"accepted" : null,
"revokedAt" : {
"nano" : 284933000,
"epochSecond" : 1790623107
},
"responseReceivedAt" : {
"nano" : 284935000,
"epochSecond" : 1790623107
},
"toTenantId" : "0d16498b-5084-49e6-9239-74c2c6081acb",
"state" : "Revoked"
}
Support
Create Support Request
POST /nfconsole/support/requests
Authorization
Authorization not required for this request.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
String |
true |
||
selectedOrganizationId |
String |
true |
|
selectedNetworkId |
String |
true |
|
subject |
String |
true |
|
comment |
String |
true |
|
type |
String |
true |
Must be one of [problem, incident, question, task]. |
priority |
String |
true |
Must be one of [urgent, high, normal, low]. |
severity |
String |
true |
Must be one of [Severity1, Severity2, Severity3]. |
recentErrorMessages |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/nfconsole/support/requests' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"name" : "Curious George",
"email" : "george@curious-client.com",
"selectedOrganizationId" : null,
"selectedNetworkId" : null,
"subject" : "Sales Contact Request",
"comment" : "This looks great! I'd like a sales rep to contact me.",
"type" : "question",
"priority" : "high",
"severity" : "Severity3",
"recentErrorMessages" : null
}'
Example response
HTTP/1.1 200 OK
Invitation Flow
Get Invitation By Key
GET /invitations/key/{key:\p{Alnum}{36}}
Authorization
Authorization not required for this request.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
key |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/LA6ZdSzrRJFTEr4iZHQdeyurthhrvsFXIn2I' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 523
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-345@acme.com"
},
"invitedEmailAddress" : "new.employee-347@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-320",
"expiration" : {
"nano" : 785171000,
"epochSecond" : 1791227911
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-320"
}
Decline Invitation
PUT /invitations/key/{key:\p{Alnum}{36}}/decline
Authorization
Authorization not required for this request.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
key |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
fromIdentity |
Object |
true |
|
fromIdentity.name |
String |
true |
|
fromIdentity.email |
String |
true |
|
targetIdentity |
Object |
true |
|
targetIdentity.name |
String |
true |
|
targetIdentity.email |
String |
true |
|
invitedEmailAddress |
String |
true |
|
toOrganizationName |
String |
true |
|
toOrganizationLabel |
String |
true |
|
expiration |
Object |
true |
|
accepted |
Boolean |
true |
|
state |
String |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
toTenantName |
String |
true |
Deprecated.. |
toTenantLabel |
String |
true |
Deprecated.. |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/tQL9wCaiuNnvaxXiARUclxIu78vdofNp4TIS/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 528
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-330@acme.com"
},
"invitedEmailAddress" : "new.employee-332@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-320",
"expiration" : {
"nano" : 231257000,
"epochSecond" : 1791227911
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-320"
}
Initiate Accept Invitation
POST /invitations/key/{key:\p{Alnum}{36}}/accept-initiate
Authorization
Authorization not required for this request.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
key |
String |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
intermediateReturnUrl |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations/key/0Ti09YYMNRZd8boFaKiL4MVf8XkPqRMFZYaW/accept-initiate' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 987
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3OTA2MjMxMTEsImV4cCI6MTc5MDYyNDAxMSwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiZmxvdyI6Imludml0YXRpb24iLCJpbnZpdGF0aW9uSWQiOiJkOGI1MDRkYS1kZTZiLTQ3MGMtOTlkYi0wMzNmNmYzNTE1NzAiLCJ0ZW5hbnRMYWJlbCI6IkFDTUUtMzIwIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMzIyIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zMjEiXSwicmVkaXJlY3RVcmwiOiJodHRwOi8vY29uc29sZS5uZmFkbWluLm5ldGZvdW5kcnkuaW8vaW52aXRhdGlvbiJ9.Rx811_lfy8ZyGW1po1Cs4V4eMeK3SEFAB2Lql4p1_F5AQq2QZrww3X9sFM3ABslluCsLt0IZ8mc0D2DzUtVP9Oix6YbnFB32Dy6P0vX7eDpDr_g0dTk-q6n_G4qNMNkw7Djyfb6_NNUefyX7ganymU7pnmHlDz5ofx1BFN0ddE1ddrVuOykjw5YiBkpQSAIAT8umy6BtSlJwgyHvaPXpa1u5aV4ZI7RWTWFC4K0RWtSsO_acwex33-CgO9Q5CUvqy9JD0qVBZ2ufuOacHSipQswRVc-784nHXt_SofDbMNgtwFeWoSG_9GciH9ZxZ_xEVcUyRpFW19UbZT5CGuYQIQ",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-322", "auth0-opaque-connectionId-321" ]
}
Login Flow
Initiate Interactive Authorization
POST /organizations/authorize-initiate
Authorization
Authorization not required for this request.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
realmLabel |
String |
true |
|
label |
String |
true |
|
intermediateReturnUrl |
String |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
nfToken |
String |
true |
|
auth0ConnectionIds |
Array[String] |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organizations/authorize-initiate' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"realmLabel" : "netfoundry",
"label" : "ACME-2",
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 902
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3OTA2MjMxMTIsImV4cCI6MTc5MDYyNDAxMiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.ouYwZ4v4xtjx1lZYr6RsqOVTP1uZDGmp7yloEF5s65WZgrcyNdAJa2tLH84K-yx9UoyaoHG_iCqDlmGaOQLN_fCoZxT3UDI1wsHk2J_37gUvQLzjDLgX9LKqTm9MPBqmPiIgiJmSrR5u0wNYPQdLxHRRacqv6VMlcDYrxdIeZ-spgNWbjrqRZMm5_pDh2WcYZ7q-B4l_I5yBdd-5_oT9rLmiGv_zBIY-6zfQpygv4oyN_fXPxcJv4fgj-HE-xIMDCoiSut1hgn_0IkEmo3oRr-t4HhZTBZU8HuLFS1kn7i6GNj6X5pmNJ0llsKnBf7NmoEpP0j8NpRO0jcCfBS47OA",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-3", "auth0-opaque-connectionId-4" ]
}
Identity Preference Flow
Find Identity Preferences
GET /identity-preferences
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1283
[ {
"id" : "647a06f5-34e5-44d0-927b-e00fc71150d7",
"userIdentityId" : "7fc0f2b7-a63c-423d-a4e9-5109dca6c68c",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "7fc0f2b7-a63c-423d-a4e9-5109dca6c68c",
"createdAt" : {
"nano" : 701216000,
"epochSecond" : 1790623102
},
"updatedAt" : {
"nano" : 701216000,
"epochSecond" : 1790623102
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "acb9c7c4-2288-490d-b686-e2693fd4b811",
"userIdentityId" : "57669108-332a-49e2-b395-93f0346f4687",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "57669108-332a-49e2-b395-93f0346f4687",
"createdAt" : {
"nano" : 646158000,
"epochSecond" : 1790623102
},
"updatedAt" : {
"nano" : 646158000,
"epochSecond" : 1790623102
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "b76827eb-6518-4185-9cc8-d414a56eb3f4",
"userIdentityId" : "1ef4b64b-c1a1-433f-9d16-bf80d33bfd84",
"preferences" : {
"hello" : "world"
},
"createdBy" : "1ef4b64b-c1a1-433f-9d16-bf80d33bfd84",
"createdAt" : {
"nano" : 751054000,
"epochSecond" : 1790623102
},
"updatedAt" : {
"nano" : 751054000,
"epochSecond" : 1790623102
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Identity Preference
GET /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/f0dcbfa4-86f7-4cbc-8aff-ee90ddc93b2f' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "f0dcbfa4-86f7-4cbc-8aff-ee90ddc93b2f",
"userIdentityId" : "da72e133-0ca2-4476-8038-d8fe7552fabb",
"preferences" : {
"hello" : "world"
},
"createdBy" : "da72e133-0ca2-4476-8038-d8fe7552fabb",
"createdAt" : {
"nano" : 228248000,
"epochSecond" : 1790623104
},
"updatedAt" : {
"nano" : 228248000,
"epochSecond" : 1790623104
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference
POST /identity-preferences
Authorization
This endpoint requires no specific permission, only an authenticated client.
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"userIdentityId" : null,
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "3c8a00bf-dc73-47a4-ac97-cbd1f3f106ee",
"userIdentityId" : "9cb00dab-6c9c-4928-b1c5-826451dab28d",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "9cb00dab-6c9c-4928-b1c5-826451dab28d",
"createdAt" : {
"nano" : 158761000,
"epochSecond" : 1790623103
},
"updatedAt" : {
"nano" : 158761000,
"epochSecond" : 1790623103
},
"deletedBy" : null,
"deletedAt" : null
}
Upsert Identity Preference By Id
PUT /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Authorization
This endpoint requires:
-
createaction on thisidentity-preferenceresource. -
updateaction on thisidentity-preferenceresource.
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/4dcb4da5-73f8-4e96-9111-92966285310a' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "4dcb4da5-73f8-4e96-9111-92966285310a",
"userIdentityId" : "682b0690-0067-4046-81a9-95ce63143623",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "682b0690-0067-4046-81a9-95ce63143623",
"createdAt" : {
"nano" : 9245000,
"epochSecond" : 1790623105
},
"updatedAt" : {
"nano" : 23889000,
"epochSecond" : 1790623105
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Identity Preference By Id
DELETE /identity-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences/ee1109c9-20fc-4684-bdc9-863806f3f354' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "ee1109c9-20fc-4684-bdc9-863806f3f354",
"userIdentityId" : "12de07fb-2b8a-4deb-b1fe-79cb8aecce57",
"preferences" : {
"hello" : "world"
},
"createdBy" : "12de07fb-2b8a-4deb-b1fe-79cb8aecce57",
"createdAt" : {
"nano" : 808511000,
"epochSecond" : 1790623103
},
"updatedAt" : {
"nano" : 831236000,
"epochSecond" : 1790623103
},
"deletedBy" : "8646c0d4-646b-4d99-8520-063a87bdb45b",
"deletedAt" : {
"nano" : 830000000,
"epochSecond" : 1790623103
}
}
Organization Preference Flow
Find Organization Preferences
GET /organization-preferences
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1268
[ {
"id" : "63d05ea7-7a6c-4f51-ae38-2ec7c363dea4",
"organizationId" : "edd21620-5876-4306-85f1-d6dfb5feac9d",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "1aa46b78-1743-40ae-9107-5c5d4b384d31",
"createdAt" : {
"nano" : 189090000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 189090000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "baf0c340-e1dc-42a2-803e-6cbb660c2dde",
"organizationId" : "7ea4f081-71a5-40ed-9ea1-128503dff99c",
"preferences" : {
"hello" : "world"
},
"createdBy" : "91593825-0e14-4e99-9275-6a9a7006d032",
"createdAt" : {
"nano" : 104750000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 104750000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "e0456178-ce57-4246-8deb-1edc8ea653c2",
"organizationId" : "c4b439d7-d9ff-42a9-8624-feff7f289dca",
"preferences" : {
"hello" : "world"
},
"createdBy" : "57601f9b-2bef-4c58-9f9e-9ebe33bdfd66",
"createdAt" : {
"nano" : 266716000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 266716000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
} ]
Get Organization Preference
GET /organization-preferences/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/e0456178-ce57-4246-8deb-1edc8ea653c2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "e0456178-ce57-4246-8deb-1edc8ea653c2",
"organizationId" : "c4b439d7-d9ff-42a9-8624-feff7f289dca",
"preferences" : {
"hello" : "world"
},
"createdBy" : "57601f9b-2bef-4c58-9f9e-9ebe33bdfd66",
"createdAt" : {
"nano" : 266716000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 266716000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
}
Create Organization Preference
POST /organization-preferences
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
preferences |
Object |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "edd21620-5876-4306-85f1-d6dfb5feac9d",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "63d05ea7-7a6c-4f51-ae38-2ec7c363dea4",
"organizationId" : "edd21620-5876-4306-85f1-d6dfb5feac9d",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "1aa46b78-1743-40ae-9107-5c5d4b384d31",
"createdAt" : {
"nano" : 189090000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 189090000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
}
Update Organization Preference
PUT /organization-preferences/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
preferences |
Object |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/0b27003a-2072-4d9e-9dc2-1fe379d5bb92' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"preferences" : {
"updated" : "my second preference."
}
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 433
{
"id" : "0b27003a-2072-4d9e-9dc2-1fe379d5bb92",
"organizationId" : "a9f43e76-5085-4ac0-8290-38528c90ffc5",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "4fd3c44c-078a-4b60-b800-2efac2eb8b05",
"createdAt" : {
"nano" : 401839000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 416848000,
"epochSecond" : 1790623116
},
"deletedBy" : null,
"deletedAt" : null
}
Delete Organization Preference
DELETE /organization-preferences/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/organization-preferences/0607dd04-ad46-4feb-8ef6-6f02294af138' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "0607dd04-ad46-4feb-8ef6-6f02294af138",
"organizationId" : "38f88978-a67f-403b-ae36-a8c7dbd2439e",
"preferences" : {
"hello" : "world"
},
"createdBy" : "ce549349-9705-47f9-9636-c828cd47ba1c",
"createdAt" : {
"nano" : 224348000,
"epochSecond" : 1790623116
},
"updatedAt" : {
"nano" : 234349000,
"epochSecond" : 1790623116
},
"deletedBy" : "ac3c4b26-5456-458d-b7c2-601493c85870",
"deletedAt" : {
"nano" : 233000000,
"epochSecond" : 1790623116
}
}