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: 3482
[ {
"id" : "0a1b7a29-f73e-453f-8a61-0e7ddd664cd1",
"realmId" : "89021b45-5e32-48c3-90e3-100cc1c639f2",
"name" : "World Wide Imports",
"label" : "WW-Imports-64",
"identityProviders" : [ {
"id" : "afa2bc38-6b41-449b-b578-d84cbf47ec34",
"organizationId" : "0a1b7a29-f73e-453f-8a61-0e7ddd664cd1",
"auth0ConnectionId" : "auth0-opaque-connectionId-65",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 944583000,
"epochSecond" : 1769791550
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "b62f6c62-1cb8-4c3f-a4b6-4ee029c3e7ab",
"organizationId" : "0a1b7a29-f73e-453f-8a61-0e7ddd664cd1",
"name" : "Custom Role - f52a657a-3a2a-45e0-a32c-3e4bdbf195e7",
"roleType" : "Custom",
"roleId" : "f52a657a-3a2a-45e0-a32c-3e4bdbf195e7",
"createdBy" : "a4dd6fe8-80bc-470e-aaa0-d787a2487798",
"createdAt" : {
"nano" : 954368000,
"epochSecond" : 1769791550
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 942464000,
"epochSecond" : 1769791550
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "14f2910b-9416-43de-bd7a-b18b87e279e1",
"realmId" : "89021b45-5e32-48c3-90e3-100cc1c639f2",
"name" : "World Wide Imports",
"label" : "WW-Imports-136",
"identityProviders" : [ {
"id" : "fb3613ad-df6d-43c3-a511-a0620b5ef73b",
"organizationId" : "14f2910b-9416-43de-bd7a-b18b87e279e1",
"auth0ConnectionId" : "auth0-opaque-connectionId-137",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 675180000,
"epochSecond" : 1769791553
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 673577000,
"epochSecond" : 1769791553
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "19239feb-c492-4e10-8b96-2ff49e3fe025",
"realmId" : "89021b45-5e32-48c3-90e3-100cc1c639f2",
"name" : "World Wide Imports",
"label" : "WW-Imports-86",
"identityProviders" : [ {
"id" : "a87bc3fb-cac3-4c77-baef-9cd0e29a7cbb",
"organizationId" : "19239feb-c492-4e10-8b96-2ff49e3fe025",
"auth0ConnectionId" : "auth0-opaque-connectionId-87",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 692846000,
"epochSecond" : 1769791551
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "b74786c4-9d5a-46d9-9a8a-7cc88b4bb328",
"organizationId" : "19239feb-c492-4e10-8b96-2ff49e3fe025",
"name" : "Standard Role - 5c60b649-253e-4074-9d4f-5f7a474703ee",
"roleType" : "Standard",
"roleId" : "5c60b649-253e-4074-9d4f-5f7a474703ee",
"createdBy" : "b19cb5f9-734d-499f-b18b-89d363d9a778",
"createdAt" : {
"nano" : 707776000,
"epochSecond" : 1769791551
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 690626000,
"epochSecond" : 1769791551
},
"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" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 242960000,
"epochSecond" : 1769791502
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "48e74a8b-344d-43ed-9900-29cd11e911a2",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 255130000,
"epochSecond" : 1769791502
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "97f005f6-3979-4a49-955e-7c33dcad986a",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Standard Role - 006c6769-6808-43ee-b205-dc7e5ae13cc7",
"roleType" : "Standard",
"roleId" : "006c6769-6808-43ee-b205-dc7e5ae13cc7",
"createdBy" : "add86cd7-7c2d-4169-9ca8-ca5edf15ee27",
"createdAt" : {
"nano" : 522603000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4cfdd76e-b5af-4ff5-99ee-c5af95457679",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Custom Role - e8548362-8ec4-4e73-b509-14cdb77d44c4",
"roleType" : "Custom",
"roleId" : "e8548362-8ec4-4e73-b509-14cdb77d44c4",
"createdBy" : "ded1493a-8ddb-4679-824e-45bf4e13725b",
"createdAt" : {
"nano" : 544895000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 238453000,
"epochSecond" : 1769791502
},
"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/7d77bea1-bcab-43be-a539-aa699a161fd5' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2220
{
"id" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 242960000,
"epochSecond" : 1769791502
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "48e74a8b-344d-43ed-9900-29cd11e911a2",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 255130000,
"epochSecond" : 1769791502
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "97f005f6-3979-4a49-955e-7c33dcad986a",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Standard Role - 006c6769-6808-43ee-b205-dc7e5ae13cc7",
"roleType" : "Standard",
"roleId" : "006c6769-6808-43ee-b205-dc7e5ae13cc7",
"createdBy" : "add86cd7-7c2d-4169-9ca8-ca5edf15ee27",
"createdAt" : {
"nano" : 522603000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "4cfdd76e-b5af-4ff5-99ee-c5af95457679",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Custom Role - e8548362-8ec4-4e73-b509-14cdb77d44c4",
"roleType" : "Custom",
"roleId" : "e8548362-8ec4-4e73-b509-14cdb77d44c4",
"createdBy" : "ded1493a-8ddb-4679-824e-45bf4e13725b",
"createdAt" : {
"nano" : 544895000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 238453000,
"epochSecond" : 1769791502
},
"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" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 242960000,
"epochSecond" : 1769791502
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "48e74a8b-344d-43ed-9900-29cd11e911a2",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 255130000,
"epochSecond" : 1769791502
},
"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" : "470885c0-de26-48dc-a072-67efd55a7deb",
"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" : "5db5c8f4-7ef6-4a06-b56e-cfe73445a851",
"realmId" : "470885c0-de26-48dc-a072-67efd55a7deb",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "b4d0bea6-8b1e-431e-8401-e548386fd3f1",
"organizationId" : "5db5c8f4-7ef6-4a06-b56e-cfe73445a851",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 287288000,
"epochSecond" : 1769791560
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 286152000,
"epochSecond" : 1769791560
},
"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/656992a7-2cc2-4672-890b-251da7ce6708/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "656992a7-2cc2-4672-890b-251da7ce6708",
"realmId" : "89021b45-5e32-48c3-90e3-100cc1c639f2",
"name" : "World Wide Imports",
"label" : "WW-Imports-289",
"identityProviders" : [ {
"id" : "51355f9b-90ef-4e46-8e64-330b1a61b07f",
"organizationId" : "656992a7-2cc2-4672-890b-251da7ce6708",
"auth0ConnectionId" : "auth0-opaque-connectionId-290",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 201135000,
"epochSecond" : 1769791561
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 199886000,
"epochSecond" : 1769791561
},
"updatedAt" : {
"nano" : 215500000,
"epochSecond" : 1769791561
},
"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/51c36930-b876-4b1c-8760-0a6a8efb4788/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" : "51c36930-b876-4b1c-8760-0a6a8efb4788",
"realmId" : "89021b45-5e32-48c3-90e3-100cc1c639f2",
"name" : "World Wide Imports",
"label" : "WW-Imports-285",
"identityProviders" : [ {
"id" : "4f669f7e-9b4c-4f7d-a298-8380c3707d64",
"organizationId" : "51c36930-b876-4b1c-8760-0a6a8efb4788",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 975681000,
"epochSecond" : 1769791560
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "04b551e7-7fd1-4c8d-b41a-618364034243",
"organizationId" : "51c36930-b876-4b1c-8760-0a6a8efb4788",
"auth0ConnectionId" : "auth0-opaque-connectionId-286",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 956632000,
"epochSecond" : 1769791560
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 955166000,
"epochSecond" : 1769791560
},
"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: 1265
[ {
"id" : "0dbfb43f-5de8-48a2-a8e0-afc442fdc98a",
"issuer" : "https://94dff5ee-9117-4989-86f5-d90f24a575b0.issuer.idp",
"jwksUri" : "https://94dff5ee-9117-4989-86f5-d90f24a575b0.issuer.idp/jwks",
"active" : true,
"createdBy" : "3f1a085b-a6ff-44fb-b64d-a65add63dfcb",
"createdAt" : {
"nano" : 670727000,
"epochSecond" : 1769791558
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1309b6ae-dd66-45ce-ae34-77c22c5cb587",
"issuer" : "https://9217c3ca-d043-49c5-90ae-adb265ebc3d6.issuer.idp",
"jwksUri" : "https://9217c3ca-d043-49c5-90ae-adb265ebc3d6.issuer.idp/jwks",
"active" : true,
"createdBy" : "dfcce201-786b-4d52-9a42-8fd71184cfd9",
"createdAt" : {
"nano" : 522818000,
"epochSecond" : 1769791558
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "17691095-3994-4b03-bc67-9271f5f70456",
"issuer" : "https://df8ccf7c-4673-49e8-b797-898b9fcf0e92.issuer.idp",
"jwksUri" : "https://df8ccf7c-4673-49e8-b797-898b9fcf0e92.issuer.idp/jwks",
"active" : true,
"createdBy" : "db18beb6-8bfd-40b7-a269-4cdfd9bdcf22",
"createdAt" : {
"nano" : 955325000,
"epochSecond" : 1769791557
},
"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/85f321e2-f867-4600-b7a5-4cd0cd362f4a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 418
{
"id" : "85f321e2-f867-4600-b7a5-4cd0cd362f4a",
"issuer" : "https://106b3fe4-e367-4051-9d56-13576238a160.issuer.idp",
"jwksUri" : "https://106b3fe4-e367-4051-9d56-13576238a160.issuer.idp/jwks",
"active" : true,
"createdBy" : "3038d109-379b-4e9c-9d0e-c4a8c940f81a",
"createdAt" : {
"nano" : 79552000,
"epochSecond" : 1769791559
},
"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://9a41a752-96b2-403b-9186-769a09cdbb0c.issuer.idp",
"jwksUri" : "https://9a41a752-96b2-403b-9186-769a09cdbb0c.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 418
{
"id" : "0d700969-eba7-4c3b-80d9-409f9facda4b",
"issuer" : "https://9a41a752-96b2-403b-9186-769a09cdbb0c.issuer.idp",
"jwksUri" : "https://9a41a752-96b2-403b-9186-769a09cdbb0c.issuer.idp/jwks",
"active" : true,
"createdBy" : "1a556b56-077e-40e6-bf59-e6d784e6913a",
"createdAt" : {
"nano" : 26586000,
"epochSecond" : 1769791559
},
"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/cb59e1f7-953a-435c-b004-f73e76cb6ada' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://d9a4efdc-3347-489c-bdbc-0308d4f2d969.issuer.idp",
"jwksUri" : "https://d9a4efdc-3347-489c-bdbc-0308d4f2d969.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "cb59e1f7-953a-435c-b004-f73e76cb6ada",
"issuer" : "https://d9a4efdc-3347-489c-bdbc-0308d4f2d969.issuer.idp",
"jwksUri" : "https://d9a4efdc-3347-489c-bdbc-0308d4f2d969.issuer.idp/jwks",
"active" : false,
"createdBy" : "7ba21c40-a12a-4a18-9427-04706a4bb406",
"createdAt" : {
"nano" : 953095000,
"epochSecond" : 1769791558
},
"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/a9b212f2-6e60-4569-aa48-f2320e924fa3' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "a9b212f2-6e60-4569-aa48-f2320e924fa3",
"issuer" : "https://603ddcff-dbd8-4dd0-a669-efe369520c59.issuer.idp",
"jwksUri" : "https://603ddcff-dbd8-4dd0-a669-efe369520c59.issuer.idp/jwks",
"active" : true,
"createdBy" : "dc978bb8-2c9f-4413-a73a-723e04f30ba9",
"createdAt" : {
"nano" : 147442000,
"epochSecond" : 1769791559
},
"deletedAt" : {
"nano" : 157825000,
"epochSecond" : 1769791559
},
"deletedBy" : "12725819-ad84-415b-a664-f93b90590b7e",
"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" : "0dc95f01-f009-4c96-b4be-b6f6bd8c4744",
"oidcIssuerId" : "1d151adf-6016-4bd8-93c8-927f5997d0b1",
"clientId" : "clientId-1270b1bd-d6df-4ed3-a61f-ae96718c6835",
"clientSecret" : "clientSecret-26e24ee4-9b8d-41bc-8320-fd6d6acfef50",
"authorizationEndpoint" : "https://d7839f43-ec09-4872-bd96-ea0f6709bebd.issuer.idp/authorize",
"tokenEndpoint" : "https://d7839f43-ec09-4872-bd96-ea0f6709bebd.issuer.idp/token",
"userInfoEndpoint" : "https://d7839f43-ec09-4872-bd96-ea0f6709bebd.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "7fab09fc-99e2-4734-a747-e1f6ca962df4",
"createdAt" : {
"nano" : 254740000,
"epochSecond" : 1769791559
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 752834000,
"epochSecond" : 1769791497
},
"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" : 752834000,
"epochSecond" : 1769791497
},
"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/8f30921e-25cc-4f02-a224-36d892609ab9' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "8f30921e-25cc-4f02-a224-36d892609ab9",
"oidcIssuerId" : "9ce07786-2713-4d03-b0f4-4e8dd33dd64c",
"clientId" : "clientId-8d77f96e-1dd1-4100-8499-5c75881a95b0",
"clientSecret" : "clientSecret-ed875fd2-af66-4b6e-9e67-77c3dfd29776",
"authorizationEndpoint" : "https://4bb3b5c1-55bc-4f18-9660-ac13d4d90750.issuer.idp/authorize",
"tokenEndpoint" : "https://4bb3b5c1-55bc-4f18-9660-ac13d4d90750.issuer.idp/token",
"userInfoEndpoint" : "https://4bb3b5c1-55bc-4f18-9660-ac13d4d90750.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "c39ef76d-9264-4f20-8aad-29173836b216",
"createdAt" : {
"nano" : 763804000,
"epochSecond" : 1769791559
},
"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" : "c85864e2-b3ce-42e4-9d08-4e244d1b887f",
"clientId" : "clientId-a3262978-d438-49f5-b1a6-f89291e98b68",
"clientSecret" : "clientSecret-2b70fe70-2b44-4d39-b23b-7ebc97470b93",
"authorizationEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/authorize",
"tokenEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/token",
"userInfoEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "825f8fc1-517c-4318-b3a1-62c1585fb693",
"oidcIssuerId" : "c85864e2-b3ce-42e4-9d08-4e244d1b887f",
"clientId" : "clientId-a3262978-d438-49f5-b1a6-f89291e98b68",
"clientSecret" : "clientSecret-2b70fe70-2b44-4d39-b23b-7ebc97470b93",
"authorizationEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/authorize",
"tokenEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/token",
"userInfoEndpoint" : "https://317ca201-745c-4315-92f7-be9b2fe3f77f.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b7f9d095-39ec-4972-a1c5-e7b44abe28c8",
"createdAt" : {
"nano" : 715976000,
"epochSecond" : 1769791559
},
"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/e6807aff-4219-4cf1-bca3-73206b273ac7' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-70a5260e-2413-4337-a706-b4545178db87",
"clientSecret" : "clientSecret-adfaf118-a9bd-4023-9944-6928621d05ce",
"authorizationEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/authorize",
"tokenEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/token",
"userInfoEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "e6807aff-4219-4cf1-bca3-73206b273ac7",
"oidcIssuerId" : "75c825b7-ad01-42cf-b8e5-fd478ee1581c",
"clientId" : "clientId-70a5260e-2413-4337-a706-b4545178db87",
"clientSecret" : "clientSecret-adfaf118-a9bd-4023-9944-6928621d05ce",
"authorizationEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/authorize",
"tokenEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/token",
"userInfoEndpoint" : "https://06537683-7e92-4d25-878c-ee69a3a0258e.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "bbd28339-7048-4c3a-bb4b-a62a0898334b",
"createdAt" : {
"nano" : 647490000,
"epochSecond" : 1769791559
},
"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/64950cfa-538b-4961-a8a2-7f9a450b97d4' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "64950cfa-538b-4961-a8a2-7f9a450b97d4",
"oidcIssuerId" : "ceabda20-9c05-472d-88b9-46b5eb4e8423",
"clientId" : "clientId-7d142037-ca88-47b0-aa87-ddcfaf62fcaa",
"clientSecret" : "clientSecret-9c71aea8-f016-40dd-b549-a6e94ba9be4f",
"authorizationEndpoint" : "https://803f4f98-be04-41e9-8411-94d35715f286.issuer.idp/authorize",
"tokenEndpoint" : "https://803f4f98-be04-41e9-8411-94d35715f286.issuer.idp/token",
"userInfoEndpoint" : "https://803f4f98-be04-41e9-8411-94d35715f286.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "fc6ff4ea-08f2-412b-b82a-c96a2d2f60fa",
"createdAt" : {
"nano" : 815976000,
"epochSecond" : 1769791559
},
"deletedAt" : {
"nano" : 825453000,
"epochSecond" : 1769791559
},
"deletedBy" : "b11b60e7-7c62-4eac-968c-5f891a378434",
"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: 1581
[ {
"id" : "58d757de-da57-43ea-be73-447eaf7722dc",
"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" : 355953000,
"epochSecond" : 1769791497
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "7650772b-816b-4f46-8da9-ca8279798471",
"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" : 290113000,
"epochSecond" : 1769791497
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "8d7d1c45-2811-4b23-9e0e-1ea5812ebc80",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "Google-Account",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "9685068d-f4a4-48b5-98f5-11fad14f8982",
"createdAt" : {
"nano" : 484126000,
"epochSecond" : 1769791502
},
"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/889806a0-ad92-440b-b2ce-59f9495715b8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "889806a0-ad92-440b-b2ce-59f9495715b8",
"organizationId" : "c323f2f8-c625-4965-80e1-1adc31591dea",
"oidcPublicClientId" : "cfad96f9-1073-4f61-9086-4ce1a8793667",
"name" : "console-client-53d274b6-5c46-486e-8d0d-b013a46fa5b4",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "92e745c4-563a-4bf1-8b29-426d3c956c80",
"createdAt" : {
"nano" : 862711000,
"epochSecond" : 1769791561
},
"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" : "b01fca2f-a7b0-4b07-8f1e-90be72f93653",
"oidcPublicClientId" : "533a96e5-4390-4582-8812-cfa37328039d",
"name" : "console-client-60721971-abc1-424c-a167-a5e5166ea17e",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 495
{
"id" : "ba817393-9d10-42a7-9812-97534edf80e0",
"organizationId" : "b01fca2f-a7b0-4b07-8f1e-90be72f93653",
"oidcPublicClientId" : "533a96e5-4390-4582-8812-cfa37328039d",
"name" : "console-client-60721971-abc1-424c-a167-a5e5166ea17e",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "fd746b37-3d1e-41b5-94e9-cbad17a150f7",
"createdAt" : {
"nano" : 784374000,
"epochSecond" : 1769791561
},
"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/5fa0f808-4ea6-45cb-9d1e-7294c16e8274' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-3994eebb-4ab7-4602-94c0-21f21743e1d8",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 494
{
"id" : "5fa0f808-4ea6-45cb-9d1e-7294c16e8274",
"organizationId" : "dd88a5ac-0cea-425b-933a-e0f0d805ef1c",
"oidcPublicClientId" : "760ba99c-99ec-4c2e-b68b-c3a094ba0c76",
"name" : "custom-client-3994eebb-4ab7-4602-94c0-21f21743e1d8",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "798deec4-916f-4eda-8ac2-556ebcf6aef0",
"createdAt" : {
"nano" : 709643000,
"epochSecond" : 1769791561
},
"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/fd003168-e069-42cb-82dc-44243984259b' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 541
{
"id" : "fd003168-e069-42cb-82dc-44243984259b",
"organizationId" : "f0cbc5ab-0dee-490c-8a12-a30cd2a320df",
"oidcPublicClientId" : "b600d3f1-b5ca-4843-b620-c4440ce8222c",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "22798954-b7f2-4177-9cf5-b11207aea910",
"createdAt" : {
"nano" : 990567000,
"epochSecond" : 1769791561
},
"deletedAt" : {
"nano" : 9723000,
"epochSecond" : 1769791562
},
"deletedBy" : "3e75ae61-f6f3-465c-ab8d-c8be2b9a3738",
"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" : "30426ca6-0d86-4264-bec4-40bcbac92b76",
"oidcIssuerId" : "17691095-3994-4b03-bc67-9271f5f70456",
"audience" : "mop-aud-a9c8a795-b883-41f5-a260-f7d88e21ee9d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "28b1d0c2-ca1c-445b-a1ee-d2c76b4c6624",
"createdAt" : {
"nano" : 983376000,
"epochSecond" : 1769791557
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"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" : 759400000,
"epochSecond" : 1769791497
},
"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" : 759400000,
"epochSecond" : 1769791497
},
"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/bf9385e2-4cf0-45bf-be9a-45b22c070199' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "bf9385e2-4cf0-45bf-be9a-45b22c070199",
"oidcIssuerId" : "1309b6ae-dd66-45ce-ae34-77c22c5cb587",
"audience" : "mop-aud-9a6d1e75-a57f-41b4-a7e4-94df0ebe0ef7",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "48930bed-0612-40c4-a7b6-3dd4b1a8e367",
"createdAt" : {
"nano" : 525160000,
"epochSecond" : 1769791558
},
"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" : "cdeca046-dd8a-4cba-a2ce-bfbbfe6fecfd",
"audience" : "mop-aud-acb89020-bf10-43cc-8b8c-3eb08b132e76",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "b632e2ba-a598-435a-97a9-70eb50edbdab",
"oidcIssuerId" : "cdeca046-dd8a-4cba-a2ce-bfbbfe6fecfd",
"audience" : "mop-aud-acb89020-bf10-43cc-8b8c-3eb08b132e76",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "8efbeac9-b56d-4204-9841-93e67fa8b453",
"createdAt" : {
"nano" : 473308000,
"epochSecond" : 1769791558
},
"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/150318db-6810-4b1c-8894-ae63d521c5f6' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-29081c00-f2b7-4555-98aa-5f2b04d71b85",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "150318db-6810-4b1c-8894-ae63d521c5f6",
"oidcIssuerId" : "df101256-7dcf-4f17-80d5-2112242e9bd3",
"audience" : "mop-aud-29081c00-f2b7-4555-98aa-5f2b04d71b85",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "8f62245d-4f8d-4ea7-ab03-9999f7590513",
"createdAt" : {
"nano" : 380424000,
"epochSecond" : 1769791558
},
"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/6764aac2-58b4-42f2-8e31-8ff4d27bf053' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "6764aac2-58b4-42f2-8e31-8ff4d27bf053",
"oidcIssuerId" : "e5de087e-4219-4084-b28d-0efb2df35d66",
"audience" : "mop-aud-526adf83-c65b-47dc-b3e5-f9fe0e1bfdd2",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b0dcc473-94e0-4f10-98c6-ae2799f73dff",
"createdAt" : {
"nano" : 579513000,
"epochSecond" : 1769791558
},
"deletedAt" : {
"nano" : 589969000,
"epochSecond" : 1769791558
},
"deletedBy" : "dc42fd1e-9328-4630-90c9-e650d5212c86",
"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/c59e80fa-bcde-403d-8dfe-09918188f4a5' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 459
{
"id" : "c59e80fa-bcde-403d-8dfe-09918188f4a5",
"userIdentityId" : "c511cdc5-add6-4b11-b6d2-81cd4f9b1092",
"oidcAudienceId" : "9f75e846-f440-48d4-bbfb-c31389b455e6",
"subject" : "console-client-8e8a02c9-ac98-4082-b075-e8273d220e7f",
"active" : true,
"createdBy" : "27b43986-099d-4eb9-b9b6-12af52a9b88e",
"createdAt" : {
"nano" : 49538000,
"epochSecond" : 1769791570
},
"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" : "cd45827d-6fed-4d55-a12b-386e5ea0e18d",
"oidcAudienceId" : "4c88b2aa-8cf8-4010-a4de-552ebbfc5744",
"subject" : "console-client-8c6e2ffb-0914-4967-8c7f-adc7625dd73a",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "a5b2a225-71c9-45e5-b44e-e4b1b11046fc",
"userIdentityId" : "cd45827d-6fed-4d55-a12b-386e5ea0e18d",
"oidcAudienceId" : "4c88b2aa-8cf8-4010-a4de-552ebbfc5744",
"subject" : "console-client-8c6e2ffb-0914-4967-8c7f-adc7625dd73a",
"active" : true,
"createdBy" : "ef198ef3-b17f-4822-870c-74879aef2815",
"createdAt" : {
"nano" : 989645000,
"epochSecond" : 1769791569
},
"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/010957fe-259a-4f77-ab9a-e5c3ead73ff7' -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" : "010957fe-259a-4f77-ab9a-e5c3ead73ff7",
"userIdentityId" : "657281c2-e5e8-4d16-8b92-18fc06d97749",
"oidcAudienceId" : "d2d61f7a-45bd-4048-afd9-742f94f65ee3",
"subject" : "console-client-4aa99ed3-f3a3-422d-95b7-4da78508526f",
"active" : false,
"createdBy" : "9b0a5581-11e8-4402-93b3-1f865e671a52",
"createdAt" : {
"nano" : 849346000,
"epochSecond" : 1769791569
},
"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/9232bc13-b647-44de-beef-418feea47fd7' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "9232bc13-b647-44de-beef-418feea47fd7",
"userIdentityId" : "ab2ad04e-0a63-4cb3-ac83-96d5c044eebb",
"oidcAudienceId" : "2b073ecf-009f-42ee-a342-7833f7834ff5",
"subject" : "console-client-740cde7f-54e3-44bd-a738-5897a7240b16",
"active" : true,
"createdBy" : "6a86e0b8-1469-4f58-b2ca-bc49b4416cf0",
"createdAt" : {
"nano" : 136504000,
"epochSecond" : 1769791570
},
"deletedAt" : {
"nano" : 153599000,
"epochSecond" : 1769791570
},
"deletedBy" : "7f628b77-6291-495c-a93d-f1b98a659f7b",
"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
Link: <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/identity-providers?page=1>; rel="last"
Content-Type: application/json
Content-Length: 1146
[ {
"id" : "128dd316-a0e9-4c0e-95db-9aab7e92eeb7",
"organizationId" : "847ab982-591b-4092-b097-5bf49b4cb777",
"auth0ConnectionId" : "auth0-opaque-connectionId-119",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 95877000,
"epochSecond" : 1769791553
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "207875de-e369-4301-91af-ff394e1d2247",
"organizationId" : "84d9619a-397f-4888-96dd-db7281dbe688",
"auth0ConnectionId" : "auth0-opaque-connectionId-222",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 933696000,
"epochSecond" : 1769791555
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "2d5dc60f-b41a-408f-8172-162eee29b8b5",
"organizationId" : "3adabebb-f3fd-457e-a7ac-4256992e3adc",
"auth0ConnectionId" : "auth0-opaque-connectionId-76",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 421793000,
"epochSecond" : 1769791551
},
"updatedAt" : null,
"deletedAt" : null
} ]
Get Identity Provider
GET /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/8369d696-3f3f-4d10-9976-6ec37c0d57eb' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 394
{
"id" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 242960000,
"epochSecond" : 1769791502
},
"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" : "84d9619a-397f-4888-96dd-db7281dbe688",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "df900dd5-aab6-4391-958b-dde7cb6f45e4",
"organizationId" : "84d9619a-397f-4888-96dd-db7281dbe688",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 971927000,
"epochSecond" : 1769791555
},
"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/7361ec1e-56eb-4fa7-92fb-073064eed23a' -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" : "7361ec1e-56eb-4fa7-92fb-073064eed23a",
"organizationId" : "26dd8004-5363-4e0f-b8cb-da823d251454",
"auth0ConnectionId" : "auth0-opaque-connectionId-230",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 350202000,
"epochSecond" : 1769791556
},
"updatedAt" : {
"nano" : 368019000,
"epochSecond" : 1769791556
},
"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/c454348d-aa55-4dfe-8e06-a0bb3f1b3abe/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 379
{
"id" : "c454348d-aa55-4dfe-8e06-a0bb3f1b3abe",
"organizationId" : "8deb9935-39a7-40ce-b1a5-7389713a27d4",
"auth0ConnectionId" : "auth0-opaque-connectionId-224",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 99097000,
"epochSecond" : 1769791556
},
"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/72735a39-e902-4517-b675-0476dd1a539f' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "72735a39-e902-4517-b675-0476dd1a539f",
"organizationId" : "59f4b404-5f5a-4451-98a5-deeeef8d5b76",
"auth0ConnectionId" : "auth0-opaque-connectionId-228",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 274275000,
"epochSecond" : 1769791556
},
"updatedAt" : {
"nano" : 289132000,
"epochSecond" : 1769791556
},
"deletedAt" : {
"nano" : 288000000,
"epochSecond" : 1769791556
}
}
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: 1358
[ {
"id" : "0a8fc381-e864-48ca-8ea5-5f196b1f8b64",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"name" : "Network Group Admin - NF Support (NFSUP) Network Group",
"roleType" : "Standard",
"roleId" : "cf53e966-a3ad-4e80-a5fc-380fe8d48e57",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 321625000,
"epochSecond" : 1769791497
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "28d0ab24-68d5-4653-a170-10103ee16996",
"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" : 357142000,
"epochSecond" : 1769791497
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3e38257b-8c07-4213-bfe4-593b5775bdf9",
"organizationId" : "f86122fb-316b-4427-8c38-248165bf4504",
"name" : "Standard Role Admin - Network Group Admin of NF Support (NFSUP)",
"roleType" : "Standard",
"roleId" : "ddd39147-0ce2-473d-93c7-25b1b404433d",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 321625000,
"epochSecond" : 1769791497
},
"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/97f005f6-3979-4a49-955e-7c33dcad986a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "97f005f6-3979-4a49-955e-7c33dcad986a",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Standard Role - 006c6769-6808-43ee-b205-dc7e5ae13cc7",
"roleType" : "Standard",
"roleId" : "006c6769-6808-43ee-b205-dc7e5ae13cc7",
"createdBy" : "add86cd7-7c2d-4169-9ca8-ca5edf15ee27",
"createdAt" : {
"nano" : 522603000,
"epochSecond" : 1769791502
},
"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" : "c96f1f10-aa39-40fa-9063-bde65099e98f",
"roleType" : "Standard",
"roleId" : "bc1b0a8e-14d2-4bec-8fe3-2a09c5a8cd40"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "caae579a-c6a2-43b1-99d3-4a085b3b06d1",
"organizationId" : "c96f1f10-aa39-40fa-9063-bde65099e98f",
"name" : "Standard Role - bc1b0a8e-14d2-4bec-8fe3-2a09c5a8cd40",
"roleType" : "Standard",
"roleId" : "bc1b0a8e-14d2-4bec-8fe3-2a09c5a8cd40",
"createdBy" : "17ba8fff-45c5-4c23-bb76-65699ecf2316",
"createdAt" : {
"nano" : 620433000,
"epochSecond" : 1769791551
},
"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/f6a49a85-e793-4119-a097-99f006e81b6e' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "f6a49a85-e793-4119-a097-99f006e81b6e",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "Standard Role - a921ea42-9db3-4050-b7ca-872c0f11be4c",
"roleType" : "Standard",
"roleId" : "a921ea42-9db3-4050-b7ca-872c0f11be4c",
"createdBy" : "27249be7-93cc-4816-b2ba-9766d6fd9f92",
"createdAt" : {
"nano" : 361035000,
"epochSecond" : 1769791551
},
"deletedAt" : {
"nano" : 370000000,
"epochSecond" : 1769791551
},
"deletedBy" : "768fb4a2-bf94-403f-8bf5-655d76967550",
"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/be7919fa-6d54-437e-89eb-9c7f6255849e/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "77a6b3de-33a3-4cd2-9de5-4ffbd971d2cf", "4d84cadc-0412-4871-b90e-67b9bf26503e", "e53319f9-d830-47a1-be52-3470c5dae640" ],
"excludeIdentityIds" : [ "77a6b3de-33a3-4cd2-9de5-4ffbd971d2cf", "87acdad7-1597-4966-be67-c4d3e1a51082", "e53319f9-d830-47a1-be52-3470c5dae640" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"4d84cadc-0412-4871-b90e-67b9bf26503e" : 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 |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
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: 762
{
"id" : "fb5f1977-2155-47ad-a320-0085aee646c9",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-370@acme.com",
"identityMappings" : [ {
"id" : "6a737e56-fbf3-44e3-a0b8-062fdb541b83",
"auth0UserId" : "auth0-opaque-userId-371",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "fb5f1977-2155-47ad-a320-0085aee646c9"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 622616000,
"epochSecond" : 1769791568
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
deletedAt |
Object |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
organizationId |
String |
true |
|
createdAt |
Object |
true |
|
name |
String |
true |
|
id |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identities/cdb0fd92-473f-4b80-b056-82eeeb3bb54c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 754
{
"id" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "07e5c2f1-3a72-4d46-a7b4-b3b495a7a9bf",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 611243000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
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=4>; rel="last"
Content-Type: application/json
Content-Length: 2295
[ {
"id" : "059d58a0-6e30-4533-8eeb-9e0dfb350d61",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-106@acme.com",
"identityMappings" : [ {
"id" : "bf7bfbcc-2114-4143-90dd-7635ea284f35",
"auth0UserId" : "auth0-opaque-userId-107",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "059d58a0-6e30-4533-8eeb-9e0dfb350d61"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 490041000,
"epochSecond" : 1769791552
},
"deletedAt" : null,
"invited" : false,
"status" : "INACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "10d0ec7a-41eb-4113-80c7-823b21874c79",
"organizationId" : "3adabebb-f3fd-457e-a7ac-4256992e3adc",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-82@acme.com",
"identityMappings" : [ {
"id" : "e922922b-f07d-49e8-b429-6035c89975fd",
"auth0UserId" : "auth0-opaque-userId-83",
"identityProviderId" : "2d5dc60f-b41a-408f-8172-162eee29b8b5",
"userIdentityId" : "10d0ec7a-41eb-4113-80c7-823b21874c79"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 432239000,
"epochSecond" : 1769791551
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "3adabebb-f3fd-457e-a7ac-4256992e3adc",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "1fecc5be-b736-4365-8dca-9d5417fc2623",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-108@acme.com",
"identityMappings" : [ {
"id" : "f39cb7e1-a6f7-41d0-97ec-07474c47d6db",
"auth0UserId" : "auth0-opaque-userId-109",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "1fecc5be-b736-4365-8dca-9d5417fc2623"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 713442000,
"epochSecond" : 1769791552
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/cdb0fd92-473f-4b80-b056-82eeeb3bb54c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 754
{
"id" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "07e5c2f1-3a72-4d46-a7b4-b3b495a7a9bf",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 611243000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
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-5/8369d696-3f3f-4d10-9976-6ec37c0d57eb' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 754
{
"id" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "07e5c2f1-3a72-4d46-a7b4-b3b495a7a9bf",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 611243000,
"epochSecond" : 1769791502
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
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 |
|
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" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 523
{
"id" : "6c6c7a80-55e2-4e49-aa41-593ed139b22c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 427887000,
"epochSecond" : 1769791569
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
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 |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/ce3fda51-bc03-4947-92e5-f9d7ee40558c' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 765
{
"id" : "ce3fda51-bc03-4947-92e5-f9d7ee40558c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "471590b2-7d50-49d4-aa68-ede7507bd06d",
"auth0UserId" : "auth0-opaque-userId-375",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "ce3fda51-bc03-4947-92e5-f9d7ee40558c"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 929580000,
"epochSecond" : 1769791568
},
"deletedAt" : null,
"invited" : false,
"status" : "ACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/67e71883-30ba-4bc9-a94f-f5634b00a324/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 765
{
"id" : "67e71883-30ba-4bc9-a94f-f5634b00a324",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-376@acme.com",
"identityMappings" : [ {
"id" : "44e9850f-56aa-4141-8f5f-45c3ee85ef31",
"auth0UserId" : "auth0-opaque-userId-377",
"identityProviderId" : "8369d696-3f3f-4d10-9976-6ec37c0d57eb",
"userIdentityId" : "67e71883-30ba-4bc9-a94f-f5634b00a324"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 999599000,
"epochSecond" : 1769791568
},
"deletedAt" : null,
"invited" : false,
"status" : "INACTIVE",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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/d032c5d8-3eb6-4c66-84b2-44356ecddb16/reset-mfa' -i -X PUT
Example response
HTTP/1.1 200 OK
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/b9ba768e-27a4-47c6-8e92-e33b6cf08667/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:c18337e0-785e-4b30-a1ed-425019c999d2",
"identityProviderId" : "48e74a8b-344d-43ed-9900-29cd11e911a2"
}'
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 |
|---|---|---|---|
tenantId |
Object |
true |
Deprecated.. |
organizationId |
Object |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
active |
Boolean |
true |
|
includeDeleted |
Boolean |
true |
Default value: 'false'. |
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 |
|
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: 2103
[ {
"id" : "01080b1c-fa6a-4b48-9920-399c4d338020",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : null,
"awsCognitoClientId" : "f95f5db4-a329-41df-9077-f4f57f38ee0a|xfjrmobd",
"authenticationUrl" : "https://netfoundry-test-guoxqj.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Test Rotation",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"active" : true,
"createdAt" : {
"nano" : 411693000,
"epochSecond" : 1769791507
},
"updatedAt" : {
"nano" : 433708000,
"epochSecond" : 1769791508
},
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"type" : "ApiAccountIdentity"
}, {
"id" : "0715fd62-46b3-49e0-83f9-5996bf938f8c",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "02e645e2-d030-4b04-8ae0-fb4a70bc38fd",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-16",
"contactEmail" : "service.admin-17@foo.com",
"description" : "updatable API Account description-18",
"active" : true,
"createdAt" : {
"nano" : 271495000,
"epochSecond" : 1769791506
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-17@foo.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"type" : "ApiAccountIdentity"
}, {
"id" : "0d89f4c7-e3b2-495d-b94f-d3b5afdb9c7f",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "1869b2ab-dd17-4d1d-bacc-24a5ebc17fc2",
"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" : 280044000,
"epochSecond" : 1769791509
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/fb2ed8ac-346c-4276-aad9-3ea471a9e847' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 718
{
"id" : "fb2ed8ac-346c-4276-aad9-3ea471a9e847",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "f773f564-d029-4ac0-bd33-8e05a6992c6f",
"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" : 676182000,
"epochSecond" : 1769791502
},
"updatedAt" : {
"nano" : 814921000,
"epochSecond" : 1769791505
},
"deletedAt" : null,
"email" : "no-reply@acme.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/d8feafdc-29a6-4915-8eef-6fae308dbb33' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 682
{
"id" : "657c6b71-0382-4ac0-b4c1-5b08538db539",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "d8feafdc-29a6-4915-8eef-6fae308dbb33",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-31",
"contactEmail" : "service.admin-32@foo.com",
"description" : "updatable API Account description-33",
"active" : true,
"createdAt" : {
"nano" : 426729000,
"epochSecond" : 1769791543
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "service.admin-32@foo.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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]. |
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.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" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"grantDefaultRoles" : true,
"provider" : "Cognito"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 939
{
"apiAccountIdentity" : {
"id" : "105cb1dc-348e-49fc-9cc3-46725d7e12f5",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : null,
"awsCognitoClientId" : "f95f5db4-a329-41df-9077-f4f57f38ee0a|warkmtnm",
"authenticationUrl" : "https://netfoundry-test-guoxqj.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" : 57728000,
"epochSecond" : 1769791509
},
"updatedAt" : null,
"deletedAt" : null,
"email" : "hr.director@acme.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"type" : "ApiAccountIdentity"
},
"clientId" : "warkmtnm",
"password" : "qkpxqylhkjgyblghhcmxoxfj",
"authenticationUrl" : "https://netfoundry-test-guoxqj.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 |
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 |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/384692c7-4818-43aa-8f45-4b120e075745' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here."
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 680
{
"id" : "384692c7-4818-43aa-8f45-4b120e075745",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "80b97866-6974-4640-b2f3-f2dc698ba30b",
"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" : 724673000,
"epochSecond" : 1769791502
},
"updatedAt" : {
"nano" : 403422000,
"epochSecond" : 1769791504
},
"deletedAt" : null,
"email" : "robot@acme.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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 |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/cdbe9147-37c6-4a66-94a0-936a1c36ef7d/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 739
{
"id" : "cdbe9147-37c6-4a66-94a0-936a1c36ef7d",
"organizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"auth0ClientId" : "a21b50dd-b51b-4563-ae02-e1c885c186a9",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-25",
"contactEmail" : "service.admin-26@foo.com",
"description" : "updatable API Account description-27",
"active" : false,
"createdAt" : {
"nano" : 211480000,
"epochSecond" : 1769791543
},
"updatedAt" : {
"nano" : 245046000,
"epochSecond" : 1769791543
},
"deletedAt" : null,
"email" : "service.admin-26@foo.com",
"tenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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: 1870
[ {
"id" : "0709d2a6-7613-4127-8677-60b869caeb53",
"fromIdentityId" : "23d4ba99-516a-4caa-89fe-84e6eca69dcb",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 836608000,
"epochSecond" : 1770396356
},
"targetUserIdentityId" : "5d260792-51bb-4cea-9ac5-066d5b1786d8",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"state" : "Open"
}, {
"id" : "34d014db-7434-471d-b329-dc4115137969",
"fromIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee-237@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 666908000,
"epochSecond" : 1770396356
},
"targetUserIdentityId" : "49255361-1a93-493b-b795-4b5dd1f8934f",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 712799000,
"epochSecond" : 1769791556
},
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"state" : "Declined"
}, {
"id" : "a7fffd18-7622-4f8b-8be4-9ca6bf687263",
"fromIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee-244@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 77690000,
"epochSecond" : 1770396357
},
"targetUserIdentityId" : "9154483a-2d3f-41d7-af5e-ccb3f7978053",
"accepted" : null,
"revokedAt" : {
"nano" : 91422000,
"epochSecond" : 1769791557
},
"responseReceivedAt" : {
"nano" : 91424000,
"epochSecond" : 1769791557
},
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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/56e7a2e1-720d-435b-b13c-30c3498977e8' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "56e7a2e1-720d-435b-b13c-30c3498977e8",
"fromIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee-250@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 266589000,
"epochSecond" : 1770396357
},
"targetUserIdentityId" : "057b79a9-09f5-467e-a5ea-9274fbfa57a9",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.console.netfoundry.io/invitation",
"targetUserIdentityId" : "5d260792-51bb-4cea-9ac5-066d5b1786d8"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 561
{
"id" : "0709d2a6-7613-4127-8677-60b869caeb53",
"fromIdentityId" : "23d4ba99-516a-4caa-89fe-84e6eca69dcb",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "netfoundry.io",
"expiration" : {
"nano" : 836608000,
"epochSecond" : 1770396356
},
"targetUserIdentityId" : "5d260792-51bb-4cea-9ac5-066d5b1786d8",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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/cfe219d4-9225-4497-af86-de3673043587/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 625
{
"id" : "cfe219d4-9225-4497-af86-de3673043587",
"fromIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee-247@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 204918000,
"epochSecond" : 1770396357
},
"targetUserIdentityId" : "9d4015bc-4412-4166-b8a7-31da1c9a58ad",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 213950000,
"epochSecond" : 1769791557
},
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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/7fcce44e-d7ec-40a0-9df0-c91d4769fb8e/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "7fcce44e-d7ec-40a0-9df0-c91d4769fb8e",
"fromIdentityId" : "cdb0fd92-473f-4b80-b056-82eeeb3bb54c",
"toOrganizationId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"invitedEmailAddress" : "new.employee-253@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 320352000,
"epochSecond" : 1770396357
},
"targetUserIdentityId" : "862e6766-2d39-46a7-9c68-9a64f005c790",
"accepted" : null,
"revokedAt" : {
"nano" : 328219000,
"epochSecond" : 1769791557
},
"responseReceivedAt" : {
"nano" : 328221000,
"epochSecond" : 1769791557
},
"toTenantId" : "7d77bea1-bcab-43be-a539-aa699a161fd5",
"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/wKsVVT6iuMrxdUVn7xoON11QKKYVI3s61iYy' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-260@acme.com"
},
"invitedEmailAddress" : "new.employee-262@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 653710000,
"epochSecond" : 1770396357
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
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/Fi9aMVvxjLntEieEv6GWhyZWdzakwz1o2mRC/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 524
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-257@acme.com"
},
"invitedEmailAddress" : "new.employee-259@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-2",
"expiration" : {
"nano" : 580819000,
"epochSecond" : 1770396357
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-2"
}
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/oU7lTJILYnITwTNWsJy8bVFs9QNcz5yns92E/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: 981
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3Njk3OTE1NTcsImV4cCI6MTc2OTc5MjQ1NywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJpbnZpdGF0aW9uIiwiaW52aXRhdGlvbklkIjoiNGI4NTEyNGMtMzk1My00MTJkLWEyNzQtYzYzMjU0ZDgyZTNjIiwidGVuYW50TGFiZWwiOiJBQ01FLTIiLCJhdXRoMENvbm5lY3Rpb25JZHMiOlsiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0zIiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC00Il0sInJlZGlyZWN0VXJsIjoiaHR0cDovL2NvbnNvbGUubmZhZG1pbi5uZXRmb3VuZHJ5LmlvL2ludml0YXRpb24ifQ.JuPGRwQ-Huju5AaYKGyBJ1ff8Y3fWwlX9WiIubWdOjMbnBkQJrGfBf3yc2l9Vh6mqoKiuHpfQc9FkufoMMHxvkpUpAoBqx81zw-7sfIdyXRXLdqUGFNwlaMVNFFiVh_J9VX15xn-fgDzf2UTBZoFTT78tsPg-dvnZG-pyMsBpRTZ56k6g_9thMFjtQ3lZj2GXqNSSYryXK3DX9_KVXO_shRa1o3gD5CfRe6ukleaRX3F0ETejdL0nF0XmOQ5WiUJYG24N6yNAK1HS6tlXRBPJE_6JODeqhhWrT3knvSg6WXS9fgF2AvfcxXGmEGtDowCQhdbUrewiodYKDZ4ZjCveg",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-3", "auth0-opaque-connectionId-4" ]
}
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.eyJpYXQiOjE3Njk3OTE1NTcsImV4cCI6MTc2OTc5MjQ1NywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.eYndTPOzsRGQFZ6wq0cvRGwnqCy5TBWtggQVg6likj9OFHandE2Bxwl9XIuDULjRBxSnq3YAULNqJ8oLTLCAowuksVq4AVCLcoxHY_StVfdjAIOd_eyLAB-ODtlHy5aCcFcZch0wmFc0gJgC9Qci9-afleQfNlG2hn1dHaKBwMcA2LXbcGcNYH4kurMztQ-QnsZuYtcSD5Pp1c2SyOFp_4bAIwkvIFuWlp2eNZt9fSNSn8lnvwoojU2sRwYohrhgQRbDhVnQMpaLwpUe4rpluyFRMtgx7uhRxfN74P_kG5GYH-tYTmLjr-3uScbRWhlpoKJzKzWpXETG8HofN9tVdA",
"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: 1281
[ {
"id" : "167a8f51-ef4f-46ec-9759-c636048a48ee",
"userIdentityId" : "367a0471-1691-47ba-9f71-965619c0787b",
"preferences" : {
"hello" : "world"
},
"createdBy" : "367a0471-1691-47ba-9f71-965619c0787b",
"createdAt" : {
"nano" : 29737000,
"epochSecond" : 1769791553
},
"updatedAt" : {
"nano" : 29737000,
"epochSecond" : 1769791553
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "37395aec-92de-4afe-acd0-cf3ef069c055",
"userIdentityId" : "1fecc5be-b736-4365-8dca-9d5417fc2623",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "1fecc5be-b736-4365-8dca-9d5417fc2623",
"createdAt" : {
"nano" : 771597000,
"epochSecond" : 1769791552
},
"updatedAt" : {
"nano" : 771597000,
"epochSecond" : 1769791552
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "40363000-7bad-4ef5-958c-e4417a11b005",
"userIdentityId" : "223346ed-3aa0-4a69-800f-c6225c28c030",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "223346ed-3aa0-4a69-800f-c6225c28c030",
"createdAt" : {
"nano" : 880634000,
"epochSecond" : 1769791552
},
"updatedAt" : {
"nano" : 880634000,
"epochSecond" : 1769791552
},
"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/5c93b142-c65b-4b96-b978-53968409fe6e' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "5c93b142-c65b-4b96-b978-53968409fe6e",
"userIdentityId" : "f05629b9-b22c-4d47-bd96-f0f3f88e6065",
"preferences" : {
"hello" : "world"
},
"createdBy" : "f05629b9-b22c-4d47-bd96-f0f3f88e6065",
"createdAt" : {
"nano" : 544814000,
"epochSecond" : 1769791554
},
"updatedAt" : {
"nano" : 544814000,
"epochSecond" : 1769791554
},
"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" : "3624b223-31a1-4c7e-9334-fe6c7003f9a0",
"userIdentityId" : "28a977ae-726f-44b6-834e-aab4f10af721",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "28a977ae-726f-44b6-834e-aab4f10af721",
"createdAt" : {
"nano" : 417798000,
"epochSecond" : 1769791553
},
"updatedAt" : {
"nano" : 417798000,
"epochSecond" : 1769791553
},
"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/10ee2845-e07a-4485-87af-119a3cad5dca' -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" : "10ee2845-e07a-4485-87af-119a3cad5dca",
"userIdentityId" : "4ef22a9f-6c19-4abf-a728-8d57709b68a7",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "4ef22a9f-6c19-4abf-a728-8d57709b68a7",
"createdAt" : {
"nano" : 364610000,
"epochSecond" : 1769791555
},
"updatedAt" : {
"nano" : 381283000,
"epochSecond" : 1769791555
},
"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/f3ecb9b4-6079-4793-9de2-3b5d26e5688b' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "f3ecb9b4-6079-4793-9de2-3b5d26e5688b",
"userIdentityId" : "84d4abd4-de05-4d68-932b-0c0a0e68c545",
"preferences" : {
"hello" : "world"
},
"createdBy" : "84d4abd4-de05-4d68-932b-0c0a0e68c545",
"createdAt" : {
"nano" : 851266000,
"epochSecond" : 1769791553
},
"updatedAt" : {
"nano" : 929247000,
"epochSecond" : 1769791553
},
"deletedBy" : "31508c38-c0fa-48d8-82f0-588277db2f40",
"deletedAt" : {
"nano" : 928000000,
"epochSecond" : 1769791553
}
}
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" : "abb41818-6ded-4667-bfe8-2cec59381f18",
"organizationId" : "499c0748-41af-4208-9753-0c48745741b4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "aa0fed4e-1faa-4777-b791-ce2aeb13a87d",
"createdAt" : {
"nano" : 625881000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 625881000,
"epochSecond" : 1769791562
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "ba92d522-a700-4b6f-8054-49f349e6f830",
"organizationId" : "bb5be19c-d8e4-42ff-bef1-7a46f3246fe2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "c338e99e-705f-4dc4-a43e-cde0af0a4da4",
"createdAt" : {
"nano" : 718176000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 718176000,
"epochSecond" : 1769791562
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "f2130365-2047-413a-8323-5f3e4b3bf188",
"organizationId" : "5eda68c5-31c0-4aa4-9a51-f2865c84210e",
"preferences" : {
"hello" : "world"
},
"createdBy" : "158bfd44-1934-4493-a3c9-edd5fd9f2b11",
"createdAt" : {
"nano" : 550295000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 550295000,
"epochSecond" : 1769791562
},
"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/ba92d522-a700-4b6f-8054-49f349e6f830' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "ba92d522-a700-4b6f-8054-49f349e6f830",
"organizationId" : "bb5be19c-d8e4-42ff-bef1-7a46f3246fe2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "c338e99e-705f-4dc4-a43e-cde0af0a4da4",
"createdAt" : {
"nano" : 718176000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 718176000,
"epochSecond" : 1769791562
},
"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" : "499c0748-41af-4208-9753-0c48745741b4",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "abb41818-6ded-4667-bfe8-2cec59381f18",
"organizationId" : "499c0748-41af-4208-9753-0c48745741b4",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "aa0fed4e-1faa-4777-b791-ce2aeb13a87d",
"createdAt" : {
"nano" : 625881000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 625881000,
"epochSecond" : 1769791562
},
"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/54083f13-e890-4e64-91c4-b21c1432dfbc' -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" : "54083f13-e890-4e64-91c4-b21c1432dfbc",
"organizationId" : "a15e3b94-af42-415b-9123-fd15b53b515f",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "6341b6bb-725e-4402-98ae-661d398d8aee",
"createdAt" : {
"nano" : 867632000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 883348000,
"epochSecond" : 1769791562
},
"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/2421e905-0d6f-42ed-9c01-bf33d5f40c84' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "2421e905-0d6f-42ed-9c01-bf33d5f40c84",
"organizationId" : "7575fcca-7189-4aa9-9973-8171465238e3",
"preferences" : {
"hello" : "world"
},
"createdBy" : "ad11d5c2-e77f-4f09-9d8e-3b02e5a786a9",
"createdAt" : {
"nano" : 667327000,
"epochSecond" : 1769791562
},
"updatedAt" : {
"nano" : 677119000,
"epochSecond" : 1769791562
},
"deletedBy" : "12ae0520-4dad-47b6-9e54-de0f505f1811",
"deletedAt" : {
"nano" : 676000000,
"epochSecond" : 1769791562
}
}