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: 2109
[ {
"id" : "14eff692-e0ce-40cd-8062-6dd23638be5b",
"realmId" : "3de3108a-d3bb-41de-8f57-c38519654de0",
"name" : "World Wide Imports",
"label" : "WW-Imports-137",
"identityProviders" : [ {
"id" : "f1eefacb-346b-4731-9d9b-d70c2ddd3dfb",
"organizationId" : "14eff692-e0ce-40cd-8062-6dd23638be5b",
"auth0ConnectionId" : "auth0-opaque-connectionId-138",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 923699000,
"epochSecond" : 1785179639
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 920571000,
"epochSecond" : 1785179639
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "1ab958e0-24e0-4f47-8c35-f2c25401f06a",
"realmId" : "3de3108a-d3bb-41de-8f57-c38519654de0",
"name" : "World Wide Imports",
"label" : "WW-Imports-242",
"identityProviders" : [ {
"id" : "354760f8-ff46-4722-9d19-b6f0551be463",
"organizationId" : "1ab958e0-24e0-4f47-8c35-f2c25401f06a",
"auth0ConnectionId" : "auth0-opaque-connectionId-243",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 734987000,
"epochSecond" : 1785179642
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 733230000,
"epochSecond" : 1785179642
},
"updatedAt" : null,
"deletedBy" : null,
"deletedAt" : null,
"deleted" : false
}, {
"id" : "39ef1423-4e40-4824-bb24-943e92717d6b",
"realmId" : "3de3108a-d3bb-41de-8f57-c38519654de0",
"name" : "World Wide Imports",
"label" : "WW-Imports-246",
"identityProviders" : [ ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 838123000,
"epochSecond" : 1785179642
},
"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: 2219
{
"id" : "60454f90-6d77-4420-8a17-0738cce1937d",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 911406000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 901081000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "53375ffa-98b0-437e-b881-3e5a04660fb4",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Custom Role - 14846e89-0ee0-4ec6-aacb-d3aba7cf96fd",
"roleType" : "Custom",
"roleId" : "14846e89-0ee0-4ec6-aacb-d3aba7cf96fd",
"createdBy" : "4e063090-c423-48b4-b9dc-bfccd3e85dea",
"createdAt" : {
"nano" : 16595000,
"epochSecond" : 1785179588
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3997e6e9-7a52-47a2-8691-3009eb8178e2",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Standard Role - 0b3c5236-1cdc-419c-b9bd-70c82c5e4a07",
"roleType" : "Standard",
"roleId" : "0b3c5236-1cdc-419c-b9bd-70c82c5e4a07",
"createdBy" : "930aae5e-1ae2-4f2d-bce9-df41e946c9af",
"createdAt" : {
"nano" : 998929000,
"epochSecond" : 1785179587
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 896351000,
"epochSecond" : 1785179587
},
"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/60454f90-6d77-4420-8a17-0738cce1937d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2219
{
"id" : "60454f90-6d77-4420-8a17-0738cce1937d",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"identityProviders" : [ {
"id" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 911406000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 901081000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ {
"id" : "53375ffa-98b0-437e-b881-3e5a04660fb4",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Custom Role - 14846e89-0ee0-4ec6-aacb-d3aba7cf96fd",
"roleType" : "Custom",
"roleId" : "14846e89-0ee0-4ec6-aacb-d3aba7cf96fd",
"createdBy" : "4e063090-c423-48b4-b9dc-bfccd3e85dea",
"createdAt" : {
"nano" : 16595000,
"epochSecond" : 1785179588
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "3997e6e9-7a52-47a2-8691-3009eb8178e2",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Standard Role - 0b3c5236-1cdc-419c-b9bd-70c82c5e4a07",
"roleType" : "Standard",
"roleId" : "0b3c5236-1cdc-419c-b9bd-70c82c5e4a07",
"createdBy" : "930aae5e-1ae2-4f2d-bce9-df41e946c9af",
"createdAt" : {
"nano" : 998929000,
"epochSecond" : 1785179587
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
} ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 896351000,
"epochSecond" : 1785179587
},
"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" : "60454f90-6d77-4420-8a17-0738cce1937d",
"realmId" : "2b551792-324e-4200-ab38-3d17f27ac13d",
"name" : "ACME International, Inc.",
"label" : "ACME-2",
"active" : true,
"identityProviders" : [ {
"id" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 911406000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-3",
"name" : "ACME Federated Active Directory",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 901081000,
"epochSecond" : 1785179587
},
"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" : "f9f449bd-ee9d-4265-aead-c1d952a731f0",
"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" : "b359e4de-7de7-4667-a9e5-667aae2cf6aa",
"realmId" : "f9f449bd-ee9d-4265-aead-c1d952a731f0",
"name" : "Best Corp.",
"label" : "BEST-CORP",
"identityProviders" : [ {
"id" : "6baba300-cdbe-4e40-931f-dd0b46d392c6",
"organizationId" : "b359e4de-7de7-4667-a9e5-667aae2cf6aa",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Best Corp.",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 756849000,
"epochSecond" : 1785179649
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 756131000,
"epochSecond" : 1785179649
},
"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/280ebac3-e84b-4332-a289-a1217d5ef5e5/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 893
{
"id" : "280ebac3-e84b-4332-a289-a1217d5ef5e5",
"realmId" : "3de3108a-d3bb-41de-8f57-c38519654de0",
"name" : "World Wide Imports",
"label" : "WW-Imports-353",
"identityProviders" : [ {
"id" : "fd71bed8-d419-4554-b834-5b8d80d5d16c",
"organizationId" : "280ebac3-e84b-4332-a289-a1217d5ef5e5",
"auth0ConnectionId" : "auth0-opaque-connectionId-354",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 531169000,
"epochSecond" : 1785179650
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : false,
"mfaProvider" : null,
"createdAt" : {
"nano" : 530289000,
"epochSecond" : 1785179650
},
"updatedAt" : {
"nano" : 543075000,
"epochSecond" : 1785179650
},
"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/b5868e8c-7fe5-4fe8-b228-c9788d954503/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" : "b5868e8c-7fe5-4fe8-b228-c9788d954503",
"realmId" : "3de3108a-d3bb-41de-8f57-c38519654de0",
"name" : "World Wide Imports",
"label" : "WW-Imports-349",
"identityProviders" : [ {
"id" : "83f79288-b101-44a4-8a8a-eeebe47a6d41",
"organizationId" : "b5868e8c-7fe5-4fe8-b228-c9788d954503",
"auth0ConnectionId" : "auth0-opaque-connectionId-350",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 377763000,
"epochSecond" : 1785179650
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "17a4b51c-5c91-4ef2-ad63-59f079ca032d",
"organizationId" : "b5868e8c-7fe5-4fe8-b228-c9788d954503",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 400843000,
"epochSecond" : 1785179650
},
"updatedAt" : null,
"deletedAt" : null
} ],
"defaultRoles" : [ ],
"active" : true,
"mfaProvider" : null,
"createdAt" : {
"nano" : 376543000,
"epochSecond" : 1785179650
},
"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" : "52edf957-7b62-4920-9beb-dd183345dec2",
"issuer" : "https://d563b386-a3e9-4be0-bddc-cc3b704b5e3a.issuer.idp",
"jwksUri" : "https://d563b386-a3e9-4be0-bddc-cc3b704b5e3a.issuer.idp/jwks",
"active" : true,
"createdBy" : "e54d0033-6e68-48e0-a184-4704b35b04ea",
"createdAt" : {
"nano" : 619361000,
"epochSecond" : 1785179648
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "67211529-c9de-4213-96b9-0c1cdd9387b8",
"issuer" : "https://4e216a96-136a-42ea-9e20-0fe2dba86c90.issuer.idp",
"jwksUri" : "https://4e216a96-136a-42ea-9e20-0fe2dba86c90.issuer.idp/jwks",
"active" : true,
"createdBy" : "d45fbdb5-4949-479a-a9b0-1d32d4b48d12",
"createdAt" : {
"nano" : 435296000,
"epochSecond" : 1785179648
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "6a612577-06fc-4ffd-b09d-e63626e1deb2",
"issuer" : "https://535c752b-552b-4a95-8243-ba9ece9a225f.issuer.idp",
"jwksUri" : "https://535c752b-552b-4a95-8243-ba9ece9a225f.issuer.idp/jwks",
"active" : true,
"createdBy" : "2880d81a-9d88-450a-9888-a42e3f97345f",
"createdAt" : {
"nano" : 180109000,
"epochSecond" : 1785179648
},
"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/f9537e02-b73d-4df2-80df-d141b9c50573' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 419
{
"id" : "f9537e02-b73d-4df2-80df-d141b9c50573",
"issuer" : "https://543a1daa-c64c-4633-aa21-e2d6650ad76f.issuer.idp",
"jwksUri" : "https://543a1daa-c64c-4633-aa21-e2d6650ad76f.issuer.idp/jwks",
"active" : true,
"createdBy" : "e095aede-e37f-4dca-b20c-b9c01ba33017",
"createdAt" : {
"nano" : 933549000,
"epochSecond" : 1785179648
},
"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://4c435a88-0090-48d8-b61b-9de74cd9058e.issuer.idp",
"jwksUri" : "https://4c435a88-0090-48d8-b61b-9de74cd9058e.issuer.idp/jwks",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 419
{
"id" : "8c32202f-7b87-44e9-9ae2-394ff8e28556",
"issuer" : "https://4c435a88-0090-48d8-b61b-9de74cd9058e.issuer.idp",
"jwksUri" : "https://4c435a88-0090-48d8-b61b-9de74cd9058e.issuer.idp/jwks",
"active" : true,
"createdBy" : "014c239c-ed6d-4286-b50a-e0258a5e0c18",
"createdAt" : {
"nano" : 906411000,
"epochSecond" : 1785179648
},
"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/797e1c19-5167-47dc-9df8-8870cafb3bc4' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"issuer" : "https://bbc09093-33d6-4f86-889a-d5f920ecd799.issuer.idp",
"jwksUri" : "https://bbc09093-33d6-4f86-889a-d5f920ecd799.issuer.idp/jwks",
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 420
{
"id" : "797e1c19-5167-47dc-9df8-8870cafb3bc4",
"issuer" : "https://bbc09093-33d6-4f86-889a-d5f920ecd799.issuer.idp",
"jwksUri" : "https://bbc09093-33d6-4f86-889a-d5f920ecd799.issuer.idp/jwks",
"active" : false,
"createdBy" : "6e41b118-4805-424a-b5f8-c7775c0a47e8",
"createdAt" : {
"nano" : 862417000,
"epochSecond" : 1785179648
},
"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/3bf2e4e7-c813-4bec-a7aa-311079cb8502' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 508
{
"id" : "3bf2e4e7-c813-4bec-a7aa-311079cb8502",
"issuer" : "https://4d9edeae-f67d-45c8-96e5-c4f40be76b23.issuer.idp",
"jwksUri" : "https://4d9edeae-f67d-45c8-96e5-c4f40be76b23.issuer.idp/jwks",
"active" : true,
"createdBy" : "28f7deb9-1c4b-4b07-b648-a4310b08eae3",
"createdAt" : {
"nano" : 966100000,
"epochSecond" : 1785179648
},
"deletedAt" : {
"nano" : 973447000,
"epochSecond" : 1785179648
},
"deletedBy" : "bf77d458-1f67-460e-a84f-13f926966d6b",
"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: 2069
[ {
"id" : "228737f2-2508-4975-9737-cf03f343df73",
"oidcIssuerId" : "ce15c489-1631-4607-8d11-35de6f0bda39",
"clientId" : "clientId-4576ace9-32c0-43fc-8215-b1bbfa322f38",
"clientSecret" : "clientSecret-ac0e1707-6a21-412d-9338-e6454fb10eaf",
"authorizationEndpoint" : "https://03ab923a-71f9-4624-853d-f7be983411c3.issuer.idp/authorize",
"tokenEndpoint" : "https://03ab923a-71f9-4624-853d-f7be983411c3.issuer.idp/token",
"userInfoEndpoint" : "https://03ab923a-71f9-4624-853d-f7be983411c3.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "34e7e777-b725-4af5-b6c1-e1e9e29e7d1f",
"createdAt" : {
"nano" : 44679000,
"epochSecond" : 1785179649
},
"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" : 610091000,
"epochSecond" : 1785179584
},
"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" : 610091000,
"epochSecond" : 1785179584
},
"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/04e6e449-3b77-4490-b544-c2244b1b7bd2' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 776
{
"id" : "04e6e449-3b77-4490-b544-c2244b1b7bd2",
"oidcIssuerId" : "3869a51a-e7f9-4072-a570-8019eb1aca8b",
"clientId" : "clientId-90f8d29f-bc5d-4c69-90fd-de51905515c9",
"clientSecret" : "clientSecret-a1a6c577-137e-4e4f-9e1b-ccf3d78e1fba",
"authorizationEndpoint" : "https://e4aa845d-b8e9-4c1b-bd09-6af4468b6168.issuer.idp/authorize",
"tokenEndpoint" : "https://e4aa845d-b8e9-4c1b-bd09-6af4468b6168.issuer.idp/token",
"userInfoEndpoint" : "https://e4aa845d-b8e9-4c1b-bd09-6af4468b6168.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "dc7bd9b1-c2c3-4c79-b509-4bbfca8e7a4d",
"createdAt" : {
"nano" : 402440000,
"epochSecond" : 1785179649
},
"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" : "2791b0fa-3c72-4bc9-ac6f-e4759ec6575b",
"clientId" : "clientId-3fbfad25-bb25-4cf8-bc25-297066ee9277",
"clientSecret" : "clientSecret-516580c6-e7d3-444f-bfb1-3d9a3913ed1d",
"authorizationEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/authorize",
"tokenEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/token",
"userInfoEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 776
{
"id" : "58932928-c2dc-4a51-8fb4-39da34de582b",
"oidcIssuerId" : "2791b0fa-3c72-4bc9-ac6f-e4759ec6575b",
"clientId" : "clientId-3fbfad25-bb25-4cf8-bc25-297066ee9277",
"clientSecret" : "clientSecret-516580c6-e7d3-444f-bfb1-3d9a3913ed1d",
"authorizationEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/authorize",
"tokenEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/token",
"userInfoEndpoint" : "https://b80e314b-41d9-4bd5-bb4a-fc2b84968a02.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "348a6083-45a7-4998-889f-d68928403554",
"createdAt" : {
"nano" : 366631000,
"epochSecond" : 1785179649
},
"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/a03a10c8-a4bf-4a5a-ab17-1f2ff5556958' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"clientId" : "clientId-1022d942-4c7f-4cc5-a562-2a3ab2bbadc5",
"clientSecret" : "clientSecret-055463d0-2897-4e16-8f6a-74f94a3c438b",
"authorizationEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/authorize",
"tokenEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/token",
"userInfoEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 777
{
"id" : "a03a10c8-a4bf-4a5a-ab17-1f2ff5556958",
"oidcIssuerId" : "e7f19db8-b2dd-40cb-a2d6-39a97aa5561a",
"clientId" : "clientId-1022d942-4c7f-4cc5-a562-2a3ab2bbadc5",
"clientSecret" : "clientSecret-055463d0-2897-4e16-8f6a-74f94a3c438b",
"authorizationEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/authorize",
"tokenEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/token",
"userInfoEndpoint" : "https://eec65247-83cf-42d3-b4f5-48ea87422b1f.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "9033b569-9901-49c4-a7c2-0e32377ee3f9",
"createdAt" : {
"nano" : 293748000,
"epochSecond" : 1785179649
},
"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/ee742ac4-364d-4c17-95bb-2678e311eddc' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 865
{
"id" : "ee742ac4-364d-4c17-95bb-2678e311eddc",
"oidcIssuerId" : "f7aeecc9-abcd-4629-ba05-7a5f90a6f1e7",
"clientId" : "clientId-6497f775-f940-482c-a3c6-a772472adf3a",
"clientSecret" : "clientSecret-2f963912-dbb5-4878-a9ef-cfad591b0c99",
"authorizationEndpoint" : "https://eca0475e-bd00-4bc3-a942-b932d7c19527.issuer.idp/authorize",
"tokenEndpoint" : "https://eca0475e-bd00-4bc3-a942-b932d7c19527.issuer.idp/token",
"userInfoEndpoint" : "https://eca0475e-bd00-4bc3-a942-b932d7c19527.issuer.idp/userinfo",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "9eb0c5f0-853b-432e-a85b-3d6b9126e1c8",
"createdAt" : {
"nano" : 440802000,
"epochSecond" : 1785179649
},
"deletedAt" : {
"nano" : 450004000,
"epochSecond" : 1785179649
},
"deletedBy" : "98b01b0d-d923-4398-85a9-373a47db75ee",
"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: 1436
[ {
"id" : "12e25f34-27f6-49be-85cc-36bbfc4e0493",
"organizationId" : "833eb21c-9d85-4017-b9a6-56b1c1b209d3",
"oidcPublicClientId" : "1da22a8d-9407-4f9c-af31-2f946bc105b0",
"name" : "console-client-176b9a1d-425e-46bb-98ac-bf995266b370",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "df267a46-3b02-41f9-90ec-a22a7af984b7",
"createdAt" : {
"nano" : 769620000,
"epochSecond" : 1785179650
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "563a34d4-acca-43dd-8d21-c55c5a0b09eb",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"oidcPublicClientId" : "290cc71d-cbd0-4c44-bf9e-a9d33a7314e6",
"name" : "ACME Federated Active Directory",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "5435ff2e-600a-4fac-b6c9-6242fa419ac5",
"createdAt" : {
"nano" : 967598000,
"epochSecond" : 1785179587
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "7232404f-af36-4e1a-9249-bbb8fa6b3f31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"oidcPublicClientId" : "f4e6fcd0-1839-4566-8828-856e42b8f156",
"name" : "Google-Account",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "0a11efc8-83a0-4f32-a5a8-5c9c7fbbde1d",
"createdAt" : {
"nano" : 990582000,
"epochSecond" : 1785179587
},
"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/7b46b24e-1219-4d81-b9f2-aa6da14b6865' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 495
{
"id" : "7b46b24e-1219-4d81-b9f2-aa6da14b6865",
"organizationId" : "7826ecad-8056-43a4-8dd8-46141b676c7b",
"oidcPublicClientId" : "b02cbbef-0290-486d-bb0d-9766c3d0944b",
"name" : "console-client-7a85239c-1f5e-4d41-9521-8800dc4feb0e",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "14ab34a1-deef-4258-8fba-6d4cc924aa4e",
"createdAt" : {
"nano" : 127954000,
"epochSecond" : 1785179651
},
"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" : "d280b0c0-7af8-43a3-b681-bcdd8d8974e7",
"oidcPublicClientId" : "8f58444f-57b7-4ad5-8a42-80cd94208638",
"name" : "console-client-50dfddf6-98fc-48f9-99ae-a30db1144ec8",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 494
{
"id" : "5b59ae3c-dd34-4d1a-9ae4-4179af1ab416",
"organizationId" : "d280b0c0-7af8-43a3-b681-bcdd8d8974e7",
"oidcPublicClientId" : "8f58444f-57b7-4ad5-8a42-80cd94208638",
"name" : "console-client-50dfddf6-98fc-48f9-99ae-a30db1144ec8",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "083ad22a-5341-4b9d-b82f-bce37fb43bc7",
"createdAt" : {
"nano" : 72984000,
"epochSecond" : 1785179651
},
"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/25eadd59-40bc-44f5-88dc-6f11eb8605d6' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"name" : "custom-client-e3e5543c-a35d-4e9f-a357-c6a88a3ac7a2",
"active" : true,
"customQueryParameters" : "{}"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 491
{
"id" : "25eadd59-40bc-44f5-88dc-6f11eb8605d6",
"organizationId" : "a41cb1be-eab2-495d-972f-ef6a50ac8724",
"oidcPublicClientId" : "67861d5b-b522-4b76-9e86-d70e3549328e",
"name" : "custom-client-e3e5543c-a35d-4e9f-a357-c6a88a3ac7a2",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "2fc80ffd-cfd8-4d9f-82b8-2e66e0b88278",
"createdAt" : {
"nano" : 879000,
"epochSecond" : 1785179651
},
"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/6f725481-668a-4a80-babc-b40307e888f0' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 543
{
"id" : "6f725481-668a-4a80-babc-b40307e888f0",
"organizationId" : "3a43c39d-14ba-4179-bed9-9fb8742c7b3a",
"oidcPublicClientId" : "67de065f-e7cb-41a7-a551-424acf23fef8",
"name" : "number two",
"active" : true,
"customQueryParameters" : "{}",
"createdBy" : "7bca8817-1595-4bd6-88ea-36cdf1e0e0d0",
"createdAt" : {
"nano" : 175776000,
"epochSecond" : 1785179651
},
"deletedAt" : {
"nano" : 185784000,
"epochSecond" : 1785179651
},
"deletedBy" : "7fc13d88-a4c7-4e0e-aba2-62a12bfffcaf",
"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: 1281
[ {
"id" : "53e7b338-6d77-4c09-ac54-d7461cd06e23",
"oidcIssuerId" : "878c869f-4248-487a-8d27-660232382121",
"audience" : "mop-aud-9dbebf20-5bbc-4311-9d3b-f27fcf34d13d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "e3316c03-4125-412b-ac99-79f2332673af",
"createdAt" : {
"nano" : 36750000,
"epochSecond" : 1785179648
},
"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" : 618328000,
"epochSecond" : 1785179584
},
"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" : 618328000,
"epochSecond" : 1785179584
},
"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/86312d8b-1480-4955-a740-70b1b9be44fa' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 430
{
"id" : "86312d8b-1480-4955-a740-70b1b9be44fa",
"oidcIssuerId" : "67211529-c9de-4213-96b9-0c1cdd9387b8",
"audience" : "mop-aud-38a5fb37-e978-4da5-9a7e-2086e964207a",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "ad6437a1-684e-4608-a0f3-a39b61e34ec4",
"createdAt" : {
"nano" : 437208000,
"epochSecond" : 1785179648
},
"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" : "b29b7606-d02b-4157-b31a-d4b961fb0411",
"audience" : "mop-aud-03097bc4-748b-465f-a189-aef0c373723d",
"restrictedToOrganizationIds" : [ ],
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "57facd39-6d81-4d18-9e9c-29e6fe3fc3eb",
"oidcIssuerId" : "b29b7606-d02b-4157-b31a-d4b961fb0411",
"audience" : "mop-aud-03097bc4-748b-465f-a189-aef0c373723d",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "506f07e2-f559-4fcd-90e6-75f2146708bb",
"createdAt" : {
"nano" : 396565000,
"epochSecond" : 1785179648
},
"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/c3682aad-6733-49d7-8d26-6835ebe30c91' -i -X PATCH \
-H 'Content-Type: application/json' \
-d '{
"audience" : "mop-aud-7ccd2abd-ccc7-4bbb-8716-ece62ec57164",
"restrictedToOrganizationIds" : [ ],
"active" : false
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 431
{
"id" : "c3682aad-6733-49d7-8d26-6835ebe30c91",
"oidcIssuerId" : "fa6835e7-7455-4b02-a95f-1edf0db99036",
"audience" : "mop-aud-7ccd2abd-ccc7-4bbb-8716-ece62ec57164",
"restrictedToOrganizationIds" : [ ],
"active" : false,
"createdBy" : "5f62de5c-c539-42c8-9f3d-9fe55ba2251c",
"createdAt" : {
"nano" : 295241000,
"epochSecond" : 1785179648
},
"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/967b4317-8e63-440d-94fc-2a08f7d05d2b' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 519
{
"id" : "967b4317-8e63-440d-94fc-2a08f7d05d2b",
"oidcIssuerId" : "aed5629b-974b-4c1a-a71c-90887a823ac4",
"audience" : "mop-aud-c56a3521-5bac-4670-8ad8-51d173fa2174",
"restrictedToOrganizationIds" : [ ],
"active" : true,
"createdBy" : "b73e6b98-3eb4-4ab1-a9c2-0ec3e2a08f54",
"createdAt" : {
"nano" : 482303000,
"epochSecond" : 1785179648
},
"deletedAt" : {
"nano" : 493567000,
"epochSecond" : 1785179648
},
"deletedBy" : "de01097c-ce20-48c4-8c5c-5f3eee218b08",
"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/83de7dfe-a5b4-4cfb-9740-56b07efdede7' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 460
{
"id" : "83de7dfe-a5b4-4cfb-9740-56b07efdede7",
"userIdentityId" : "d5047088-a91e-46ee-bca0-299b4235c044",
"oidcAudienceId" : "068173b2-c089-4fc8-aa0a-095b51171642",
"subject" : "console-client-d50b1a6d-b09f-4301-be43-03380a927dad",
"active" : true,
"createdBy" : "1abc412c-7247-4a34-bb2f-4d2e811389bf",
"createdAt" : {
"nano" : 643405000,
"epochSecond" : 1785179654
},
"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" : "40ba2f45-b169-4912-a78e-d524a5247fca",
"oidcAudienceId" : "8dc12486-024e-4b4d-92cd-dddc3ce5cd0f",
"subject" : "console-client-fbc606cb-b85a-42b0-a98e-4a4619455ada",
"active" : true
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 460
{
"id" : "8817f965-2352-47ac-a3b6-ddbdd6ec9e4f",
"userIdentityId" : "40ba2f45-b169-4912-a78e-d524a5247fca",
"oidcAudienceId" : "8dc12486-024e-4b4d-92cd-dddc3ce5cd0f",
"subject" : "console-client-fbc606cb-b85a-42b0-a98e-4a4619455ada",
"active" : true,
"createdBy" : "bb0a1ce8-c4e0-4925-bd15-77194706e1c0",
"createdAt" : {
"nano" : 606901000,
"epochSecond" : 1785179654
},
"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/2d4b48a6-636e-45e9-b3a0-cc7cb2ef40e8' -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" : "2d4b48a6-636e-45e9-b3a0-cc7cb2ef40e8",
"userIdentityId" : "e7fc7c78-331e-48eb-83fe-aea5c32e0e5b",
"oidcAudienceId" : "eecbf3fe-4962-47e3-b791-ba90d3a7df4f",
"subject" : "console-client-b8ab7ad3-1d69-4ccb-beb7-b2c18106d94f",
"active" : false,
"createdBy" : "32bc269b-2c30-4ee1-8ea9-70bd41a8dacf",
"createdAt" : {
"nano" : 535657000,
"epochSecond" : 1785179654
},
"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/1325476a-8954-4153-987e-2fa2d49c490a' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 549
{
"id" : "1325476a-8954-4153-987e-2fa2d49c490a",
"userIdentityId" : "a6804873-0d20-4e29-abac-598d44e20603",
"oidcAudienceId" : "453d317c-1db8-46f3-a74e-5e02f753340b",
"subject" : "console-client-ae8f486b-f7bb-461e-ad0e-d03f5f9be609",
"active" : true,
"createdBy" : "21ed65db-6542-43b3-be63-2d64149f09d9",
"createdAt" : {
"nano" : 684461000,
"epochSecond" : 1785179654
},
"deletedAt" : {
"nano" : 693211000,
"epochSecond" : 1785179654
},
"deletedBy" : "9c1a0dfc-f6e8-4896-a1a9-2d579202d29a",
"deleted" : true
}
Identity Providers
Find Identity Providers
GET /identity-providers
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
organizationId |
Object |
true |
|
auth0ConnectionId |
Object |
true |
|
auth0ConnectionType |
Object |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
deleted |
Object |
true |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1141
[ {
"id" : "354760f8-ff46-4722-9d19-b6f0551be463",
"organizationId" : "1ab958e0-24e0-4f47-8c35-f2c25401f06a",
"auth0ConnectionId" : "auth0-opaque-connectionId-243",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 734987000,
"epochSecond" : 1785179642
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 911406000,
"epochSecond" : 1785179587
},
"updatedAt" : null,
"deletedAt" : null
}, {
"id" : "3cf65eea-4b71-4a48-8039-90ea2a31d5e9",
"organizationId" : "3ff6a6dc-5583-4d20-90ff-74f505af4fdc",
"auth0ConnectionId" : "auth0-opaque-connectionId-159",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 660108000,
"epochSecond" : 1785179640
},
"updatedAt" : null,
"deletedAt" : null
} ]
Get Identity Provider
GET /identity-providers/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ConnectionId |
String |
true |
|
name |
String |
true |
|
auth0ConnectionType |
String |
true |
Must be one of [Database, Social, Enterprise, Passwordless]. |
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-providers/3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 373
{
"id" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ConnectionId" : "auth0-opaque-connectionId-4",
"name" : "Google-Account",
"auth0ConnectionType" : "Social",
"active" : true,
"createdAt" : {
"nano" : 911406000,
"epochSecond" : 1785179587
},
"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" : "bd2ae552-0460-4294-a20d-8eed2a2e85a0",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 368
{
"id" : "459edb89-8bda-4741-9ad4-48e807723a47",
"organizationId" : "bd2ae552-0460-4294-a20d-8eed2a2e85a0",
"auth0ConnectionId" : "auth0-opaque-connection",
"name" : "Corp SAML",
"auth0ConnectionType" : "Enterprise",
"active" : true,
"createdAt" : {
"nano" : 661791000,
"epochSecond" : 1785179642
},
"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/02555823-ca8f-4dae-acd3-c57f7eccafdd' -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" : "02555823-ca8f-4dae-acd3-c57f7eccafdd",
"organizationId" : "ee5dbd3f-8a7f-429e-bc05-2061cf3a1364",
"auth0ConnectionId" : "auth0-opaque-connectionId-249",
"name" : "New IdP Name",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 881906000,
"epochSecond" : 1785179642
},
"updatedAt" : {
"nano" : 896200000,
"epochSecond" : 1785179642
},
"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/354760f8-ff46-4722-9d19-b6f0551be463/activate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 380
{
"id" : "354760f8-ff46-4722-9d19-b6f0551be463",
"organizationId" : "1ab958e0-24e0-4f47-8c35-f2c25401f06a",
"auth0ConnectionId" : "auth0-opaque-connectionId-243",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 734987000,
"epochSecond" : 1785179642
},
"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/7206c7d6-ccb9-4615-ac1e-30e4ac4ae48f' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 492
{
"id" : "7206c7d6-ccb9-4615-ac1e-30e4ac4ae48f",
"organizationId" : "39ef1423-4e40-4824-bb24-943e92717d6b",
"auth0ConnectionId" : "auth0-opaque-connectionId-247",
"name" : "Username/Password",
"auth0ConnectionType" : "Database",
"active" : true,
"createdAt" : {
"nano" : 839181000,
"epochSecond" : 1785179642
},
"updatedAt" : {
"nano" : 850708000,
"epochSecond" : 1785179642
},
"deletedAt" : {
"nano" : 850000000,
"epochSecond" : 1785179642
}
}
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: 1355
[ {
"id" : "1d654c1a-013d-4c82-a57b-69f668980705",
"organizationId" : "95068bb0-864b-4930-b06e-9acf4957c826",
"name" : "Network Group Admin - Cloud Engineering Network Group",
"roleType" : "Standard",
"roleId" : "b75be358-a3f9-40a5-972d-a804c4758041",
"createdBy" : "2b6f496d-36f1-4e66-a205-8abcf1d41d74",
"createdAt" : {
"nano" : 100040000,
"epochSecond" : 1785179637
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "1dfdf6c4-eb97-4b41-a327-9f252af1413e",
"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" : 98412000,
"epochSecond" : 1785179637
},
"deletedAt" : null,
"deletedBy" : null,
"deleted" : false
}, {
"id" : "32a17fab-3bda-445b-8a0a-0f517911e093",
"organizationId" : "cc2433a9-c951-4a30-a57f-c23567fe7b87",
"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" : 68243000,
"epochSecond" : 1785179637
},
"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/a80d80d3-8103-4eaf-89c4-e589399f8d3a' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 458
{
"id" : "a80d80d3-8103-4eaf-89c4-e589399f8d3a",
"organizationId" : "44470935-a9e3-43cf-9e3d-acf81195c78e",
"name" : "Standard Role - 632d4e3b-8e1f-441a-9e41-23441e484754",
"roleType" : "Standard",
"roleId" : "632d4e3b-8e1f-441a-9e41-23441e484754",
"createdBy" : "18253c36-c89e-41db-a67b-57b3377c0de8",
"createdAt" : {
"nano" : 924178000,
"epochSecond" : 1785179637
},
"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" : "0b6765bf-193f-4ef2-be0d-7946f5e9a4c9",
"roleType" : "Standard",
"roleId" : "00a23e46-c439-41fe-96e4-d4addf3fbf99"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 458
{
"id" : "bf3b025d-da88-4fe5-9507-1ef2179f4075",
"organizationId" : "0b6765bf-193f-4ef2-be0d-7946f5e9a4c9",
"name" : "Standard Role - 00a23e46-c439-41fe-96e4-d4addf3fbf99",
"roleType" : "Standard",
"roleId" : "00a23e46-c439-41fe-96e4-d4addf3fbf99",
"createdBy" : "9088a812-0066-4dd1-b8c9-7c90c2900ccc",
"createdAt" : {
"nano" : 672672000,
"epochSecond" : 1785179638
},
"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/5adb6032-50b5-44ca-b5f0-7a8a32785eb1' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 547
{
"id" : "5adb6032-50b5-44ca-b5f0-7a8a32785eb1",
"organizationId" : "44470935-a9e3-43cf-9e3d-acf81195c78e",
"name" : "Standard Role - 6ceb09f9-fc07-45e1-b55e-488a223eb12f",
"roleType" : "Standard",
"roleId" : "6ceb09f9-fc07-45e1-b55e-488a223eb12f",
"createdBy" : "bd9d0626-811e-454a-90e9-6aeda1e7dacf",
"createdAt" : {
"nano" : 481993000,
"epochSecond" : 1785179638
},
"deletedAt" : {
"nano" : 491000000,
"epochSecond" : 1785179638
},
"deletedBy" : "a7443627-cc8b-4ae5-95a6-561636f49936",
"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/ef0b4240-6221-4d29-8337-fbf3a3c0cba3/grant' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"includeIdentityIds" : [ "bdc0484e-d34d-43a2-ae89-3e0ef178d5df", "ff3fc493-c643-4b9e-9aea-a1f502007d25", "470b16be-729a-466a-9834-02a65e329bc3" ],
"excludeIdentityIds" : [ "bdc0484e-d34d-43a2-ae89-3e0ef178d5df", "69971684-efd6-4f8d-9efc-52e411c1efcd", "ff3fc493-c643-4b9e-9aea-a1f502007d25" ]
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 51
{
"470b16be-729a-466a-9834-02a65e329bc3" : 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 |
|
String |
true |
||
deletedAt |
Object |
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: 778
{
"id" : "837e2628-83c1-4b89-a932-6cdfb44c7362",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-427@acme.com",
"identityMappings" : [ {
"id" : "b96740b9-0ae9-42ce-9ef0-4d44a84bbcb4",
"auth0UserId" : "auth0-opaque-userId-428",
"identityProviderId" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"userIdentityId" : "837e2628-83c1-4b89-a932-6cdfb44c7362"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 166387000,
"epochSecond" : 1785179653
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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 |
|
String |
true |
||
deletedAt |
Object |
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/b8daa2a5-856e-4189-85ea-f8797fb7e590' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 769
{
"id" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "3bcc3571-d865-4be4-bada-a390613bc334",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"userIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 67854000,
"epochSecond" : 1785179588
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "John Doe",
"type" : "UserIdentity"
}
Find User Identities
GET /user-identities
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/user-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/user-identities?page=4>; rel="last"
Content-Type: application/json
Content-Length: 2571
[ {
"id" : "0aac66c0-7d6a-4b3c-b6ed-f14306049120",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-123@acme.com",
"identityMappings" : [ {
"id" : "7ed050e5-a838-4ee9-8eeb-7c6d810ffa1d",
"auth0UserId" : "new-auth0-userId",
"identityProviderId" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"userIdentityId" : "0aac66c0-7d6a-4b3c-b6ed-f14306049120"
}, {
"id" : "6406d7d1-15d8-4757-b436-a21ceb85468c",
"auth0UserId" : "auth0-opaque-userId-124",
"identityProviderId" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"userIdentityId" : "0aac66c0-7d6a-4b3c-b6ed-f14306049120"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 188552000,
"epochSecond" : 1785179639
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "13353771-b15b-4fc6-b9c8-fbfdea78175f",
"organizationId" : "6ae4d25f-cf83-4e4e-b1b1-2668fac397b1",
"firstName" : "First",
"lastName" : "Last",
"email" : "noreply@netfoundry.io",
"identityMappings" : [ {
"id" : "7177dd43-7d68-4792-86b9-50e924bb70d8",
"auth0UserId" : "auth0-opaque-userId-157",
"identityProviderId" : "e06b34f1-0bfe-4f63-94d3-fdbb39f81d1e",
"userIdentityId" : "13353771-b15b-4fc6-b9c8-fbfdea78175f"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 480651000,
"epochSecond" : 1785179640
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "6ae4d25f-cf83-4e4e-b1b1-2668fac397b1",
"name" : "First Last",
"type" : "UserIdentity"
}, {
"id" : "24553dec-48a2-485d-8a0e-a96d600490f6",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-133@acme.com",
"identityMappings" : [ {
"id" : "f26708b4-47a5-43bc-a808-062835b6c0ab",
"auth0UserId" : "auth0-opaque-userId-134",
"identityProviderId" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"userIdentityId" : "24553dec-48a2-485d-8a0e-a96d600490f6"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 830847000,
"epochSecond" : 1785179639
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "First Last",
"type" : "UserIdentity"
} ]
Get User Identity
GET /user-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/b8daa2a5-856e-4189-85ea-f8797fb7e590' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 769
{
"id" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "3bcc3571-d865-4be4-bada-a390613bc334",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"userIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 67854000,
"epochSecond" : 1785179588
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "John Doe",
"type" : "UserIdentity"
}
Get User Identity By Mapping
GET /user-identities/mapping/{auth0UserId}/{identityProviderId}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
auth0UserId |
String |
false |
|
identityProviderId |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/mapping/auth0-opaque-userId-5/92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 769
{
"id" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "John",
"lastName" : "Doe",
"email" : "john.doe@acme.com",
"identityMappings" : [ {
"id" : "3bcc3571-d865-4be4-bada-a390613bc334",
"auth0UserId" : "auth0-opaque-userId-5",
"identityProviderId" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3",
"userIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 67854000,
"epochSecond" : 1785179588
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "John Doe",
"type" : "UserIdentity"
}
Create Identity
POST /user-identities
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"tags" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 538
{
"id" : "6721ddbb-ae49-4723-846f-fec511b4bbe6",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "Jane",
"lastName" : "Doe",
"email" : "jane.doe@acme.com",
"identityMappings" : [ ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 39679000,
"epochSecond" : 1785179654
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Jane Doe",
"type" : "UserIdentity"
}
Update
PUT /user-identities/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/92358acf-cd07-410e-a766-8a250021c838' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"tags" : null
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 781
{
"id" : "92358acf-cd07-410e-a766-8a250021c838",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "Bobby",
"lastName" : "White",
"email" : "bobby.white@acme.com",
"identityMappings" : [ {
"id" : "0ac94700-3261-4582-a0fc-eeace07db9a2",
"auth0UserId" : "auth0-opaque-userId-436",
"identityProviderId" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"userIdentityId" : "92358acf-cd07-410e-a766-8a250021c838"
} ],
"identityAudienceMappings" : [ ],
"active" : true,
"createdAt" : {
"nano" : 568597000,
"epochSecond" : 1785179653
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "ACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "Bobby White",
"type" : "UserIdentity"
}
Activate Or Deactivate User Identity
PUT /user-identities/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
firstName |
String |
true |
|
lastName |
String |
true |
|
String |
true |
||
identityMappings |
Array[Object] |
true |
|
identityMappings[].id |
String |
true |
|
identityMappings[].auth0UserId |
String |
true |
|
identityMappings[].identityProviderId |
String |
true |
|
identityMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings |
Array[Object] |
true |
|
identityAudienceMappings[].id |
String |
true |
|
identityAudienceMappings[].userIdentityId |
String |
true |
|
identityAudienceMappings[].oidcAudienceId |
String |
true |
|
identityAudienceMappings[].subject |
String |
true |
|
identityAudienceMappings[].active |
Boolean |
true |
|
identityAudienceMappings[].createdBy |
String |
true |
|
identityAudienceMappings[].createdAt |
Object |
true |
|
identityAudienceMappings[].deletedAt |
Object |
true |
|
identityAudienceMappings[].deletedBy |
String |
true |
|
identityAudienceMappings[].deleted |
Boolean |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
deletedAt |
Object |
true |
|
invited |
Boolean |
true |
|
tags |
Map |
true |
|
status |
String |
true |
|
tenantId |
String |
true |
Deprecated.. |
name |
String |
true |
|
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/user-identities/8e0da54e-c082-4f22-92d9-d2cd07769fbb/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 781
{
"id" : "8e0da54e-c082-4f22-92d9-d2cd07769fbb",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"firstName" : "First",
"lastName" : "Last",
"email" : "random-439@acme.com",
"identityMappings" : [ {
"id" : "ff04d9c5-01c9-4d0b-aa16-fc8c94123d81",
"auth0UserId" : "auth0-opaque-userId-440",
"identityProviderId" : "3951ced1-6c9f-4f25-a2a2-04ea9ac5cc31",
"userIdentityId" : "8e0da54e-c082-4f22-92d9-d2cd07769fbb"
} ],
"identityAudienceMappings" : [ ],
"active" : false,
"createdAt" : {
"nano" : 699198000,
"epochSecond" : 1785179653
},
"deletedAt" : null,
"invited" : false,
"tags" : { },
"status" : "INACTIVE",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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/853a2bfa-da7b-45a2-96bd-0ae43175d8e6/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/9b7dbad3-a840-4fe9-bb81-132d71c114e1/mapping' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"auth0UserId" : "new-auth0-userId:ab29025e-2767-4bd2-b782-c4c9efdcf1fa",
"identityProviderId" : "92ff1552-7b52-4cbf-aabe-5ad54c8ec5d3"
}'
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 |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X GET
Example response
HTTP/1.1 200 OK
Link: <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=1>; rel="next", <https://gateway.netFoundry.io/identity/v1/api-account-identities?page=2>; rel="last"
Content-Type: application/json
Content-Length: 2107
[ {
"id" : "0a636a8f-8e35-4431-9a48-948e0cbc9bc6",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : null,
"awsCognitoClientId" : "85043fd8-115b-4c62-a7a7-15ee9fc10edc|tpqqnwsg",
"authenticationUrl" : "https://netfoundry-test-pxqdnl.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 783919000,
"epochSecond" : 1785179601
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "a@acme.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}, {
"id" : "0e4206fb-7614-4f4b-aab8-7381b5770173",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : "57d2bffe-ddcf-45f1-9253-82db09f53b49",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "Robot",
"contactEmail" : "service.admin-13@foo.com",
"description" : "updatable API Account description-14",
"active" : true,
"createdAt" : {
"nano" : 478179000,
"epochSecond" : 1785179592
},
"updatedAt" : {
"nano" : 496491000,
"epochSecond" : 1785179592
},
"deletedAt" : null,
"tags" : { },
"email" : "service.admin-13@foo.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}, {
"id" : "227f88d7-e107-452b-b855-f83caf63b4c4",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : null,
"awsCognitoClientId" : "1dbc9d08-fee9-439c-ade4-720483d79fc7|ghsexkhb",
"authenticationUrl" : "https://netfoundry-test-naepkn.auth.us-east-1.amazoncognito.com/oauth2/token",
"name" : "Testing Limits",
"contactEmail" : "a@acme.com",
"description" : "description",
"active" : true,
"createdAt" : {
"nano" : 430745000,
"epochSecond" : 1785179598
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "a@acme.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
} ]
Get Api Account Identity
GET /api-account-identities/{id:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/eb5045b8-06aa-483a-9791-07e0c00e182d' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 734
{
"id" : "eb5045b8-06aa-483a-9791-07e0c00e182d",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : "4e23f4ef-3499-4f64-9b3a-1b4993e9527f",
"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" : 124818000,
"epochSecond" : 1785179588
},
"updatedAt" : {
"nano" : 599565000,
"epochSecond" : 1785179592
},
"deletedAt" : null,
"tags" : { },
"email" : "no-reply@acme.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}
Get Api Account Identity By Mapping
GET /api-account-identities/mapping/{clientId}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
clientId |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/mapping/46ea43b6-3688-4430-98f5-c927628c5888' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 698
{
"id" : "c11294f1-7470-4cc8-8ff8-f31c795f4a43",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : "46ea43b6-3688-4430-98f5-c927628c5888",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-37",
"contactEmail" : "service.admin-38@foo.com",
"description" : "updatable API Account description-39",
"active" : true,
"createdAt" : {
"nano" : 511660000,
"epochSecond" : 1785179629
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "service.admin-38@foo.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}
Create Api Account Identity
POST /api-account-identities
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
organizationId |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
grantDefaultRoles |
Boolean |
true |
|
provider |
String |
true |
Must be one of [Auth0, Cognito]. |
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
apiAccountIdentity |
Object |
true |
|
apiAccountIdentity.id |
String |
true |
|
apiAccountIdentity.organizationId |
String |
true |
|
apiAccountIdentity.auth0ClientId |
String |
true |
|
apiAccountIdentity.awsCognitoClientId |
String |
true |
|
apiAccountIdentity.authenticationUrl |
String |
true |
|
apiAccountIdentity.name |
String |
true |
|
apiAccountIdentity.contactEmail |
String |
true |
|
apiAccountIdentity.description |
String |
true |
|
apiAccountIdentity.active |
Boolean |
true |
|
apiAccountIdentity.createdAt |
Object |
true |
|
apiAccountIdentity.updatedAt |
Object |
true |
|
apiAccountIdentity.deletedAt |
Object |
true |
|
apiAccountIdentity.tags |
Map |
true |
|
apiAccountIdentity.email |
String |
true |
|
apiAccountIdentity.tenantId |
String |
true |
Deprecated.. |
apiAccountIdentity.type |
String |
true |
|
clientId |
String |
true |
|
password |
String |
true |
|
authenticationUrl |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"name" : "HR Bridge Service",
"contactEmail" : "hr.director@acme.com",
"description" : "description goes here",
"grantDefaultRoles" : true,
"provider" : "Cognito",
"tags" : null
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 958
{
"apiAccountIdentity" : {
"id" : "bb948eed-8663-4642-bb04-ed169a501f12",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : null,
"awsCognitoClientId" : "047f193f-26f9-4525-afb6-ba73b9354b81|odhbsccr",
"authenticationUrl" : "https://netfoundry-test-xsanue.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" : 622498000,
"epochSecond" : 1785179594
},
"updatedAt" : null,
"deletedAt" : null,
"tags" : { },
"email" : "hr.director@acme.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
},
"clientId" : "odhbsccr",
"password" : "yotmiejrboseyojpfycnmwaj",
"authenticationUrl" : "https://netfoundry-test-xsanue.auth.us-east-1.amazoncognito.com/oauth2/token"
}
Update Identity Info
PUT /api-account-identities/{id}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
Request fields
| Path | Type | Optional | Description |
|---|---|---|---|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
tags |
Map |
true |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/8a4ed2f4-5821-42ba-9c48-188b9c41f846' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "Robot",
"contactEmail" : "robot@acme.com",
"description" : "description here.",
"tags" : null
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 695
{
"id" : "8a4ed2f4-5821-42ba-9c48-188b9c41f846",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : "cef887b0-c1d6-4f16-81f5-64ecfd48c0ef",
"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" : 176848000,
"epochSecond" : 1785179588
},
"updatedAt" : {
"nano" : 91452000,
"epochSecond" : 1785179589
},
"deletedAt" : null,
"tags" : { },
"email" : "robot@acme.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}
Activate Or Deactivate Api Account Identity
PUT /api-account-identities/{id}/{action:activate|deactivate}
Path parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id |
Object |
false |
|
action |
String |
false |
Response fields
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
organizationId |
String |
true |
|
auth0ClientId |
String |
true |
|
awsCognitoClientId |
String |
true |
|
authenticationUrl |
String |
true |
|
name |
String |
true |
|
contactEmail |
String |
true |
|
description |
String |
true |
|
active |
Boolean |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedAt |
Object |
true |
|
tags |
Map |
true |
|
String |
true |
||
tenantId |
String |
true |
Deprecated.. |
type |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/api-account-identities/a8a01c9e-54bf-4a57-a634-19543ff3296b/deactivate' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 755
{
"id" : "a8a01c9e-54bf-4a57-a634-19543ff3296b",
"organizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"auth0ClientId" : "1aa61896-a099-4d09-ac7c-78471f6cfa12",
"awsCognitoClientId" : null,
"authenticationUrl" : "http://127.0.0.1:1234/IdP/OAuth2/login",
"name" : "ACME Internal Service-28",
"contactEmail" : "service.admin-29@foo.com",
"description" : "updatable API Account description-30",
"active" : false,
"createdAt" : {
"nano" : 161358000,
"epochSecond" : 1785179629
},
"updatedAt" : {
"nano" : 183047000,
"epochSecond" : 1785179629
},
"deletedAt" : null,
"tags" : { },
"email" : "service.admin-29@foo.com",
"tenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"type" : "ApiAccountIdentity"
}
Invitation
Find Invitations
GET /invitations
Query parameters
Supports standard paging query parameters.
| Parameter | Type | Optional | Description |
|---|---|---|---|
fromIdentityId |
Object |
true |
|
toTenantId |
Object |
true |
Deprecated.. |
toOrganizationId |
Object |
true |
|
invitedEmailAddress |
String |
true |
|
targetIdentityId |
Object |
true |
|
states |
Object |
true |
Must be one of [Open, Accepted, Declined, Expired, Revoked]. |
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
fromIdentityId |
String |
true |
|
toOrganizationId |
String |
true |
|
invitedEmailAddress |
String |
true |
|
invitationHost |
String |
true |
|
expiration |
Object |
true |
|
targetUserIdentityId |
String |
true |
|
accepted |
Boolean |
true |
|
revokedAt |
Object |
true |
|
responseReceivedAt |
Object |
true |
|
toTenantId |
String |
true |
Deprecated.. |
state |
String |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/invitations' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1877
[ {
"id" : "29298418-4aad-4712-922c-093e63e599e7",
"fromIdentityId" : "f1ca1f1b-2aac-4626-b95f-299b506ef6fc",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "acme.cloudziti.io",
"expiration" : {
"nano" : 251012000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "cef9618a-fb03-430a-9035-c7a26bfb569f",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"state" : "Open"
}, {
"id" : "7b37067a-02e8-41f9-8eb1-d1ac0acee9f2",
"fromIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee-256@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 123015000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "ad72f001-edca-4dd6-a48f-c1371eec519f",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 151911000,
"epochSecond" : 1785179643
},
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"state" : "Declined"
}, {
"id" : "fb10e7c7-d7ef-4947-a772-073ac6207dea",
"fromIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee-263@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 436281000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "34071f9c-53d8-420e-bf9d-4d1a60f454e5",
"accepted" : null,
"revokedAt" : {
"nano" : 461008000,
"epochSecond" : 1785179643
},
"responseReceivedAt" : {
"nano" : 461010000,
"epochSecond" : 1785179643
},
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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/42aebb31-2cf1-4662-85bd-c2ff32700a39' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 564
{
"id" : "42aebb31-2cf1-4662-85bd-c2ff32700a39",
"fromIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee-276@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 770817000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "0c9726f7-d511-4a49-9ae0-32d11aa0dc0f",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationUrl" : "http://acme.cloudziti.io/invitation",
"targetUserIdentityId" : "cef9618a-fb03-430a-9035-c7a26bfb569f"
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 565
{
"id" : "29298418-4aad-4712-922c-093e63e599e7",
"fromIdentityId" : "f1ca1f1b-2aac-4626-b95f-299b506ef6fc",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee@acme.com",
"invitationHost" : "acme.cloudziti.io",
"expiration" : {
"nano" : 251012000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "cef9618a-fb03-430a-9035-c7a26bfb569f",
"accepted" : null,
"revokedAt" : null,
"responseReceivedAt" : null,
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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/36f90e03-ec3c-4513-acda-23bb210372f6/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 625
{
"id" : "36f90e03-ec3c-4513-acda-23bb210372f6",
"fromIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee-268@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 639377000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "840d648b-cb03-41b8-baa6-4ca413f1ed87",
"accepted" : false,
"revokedAt" : null,
"responseReceivedAt" : {
"nano" : 646990000,
"epochSecond" : 1785179643
},
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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/5d552328-a5fa-409b-9e59-0a9627b6bb00/revoke' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 679
{
"id" : "5d552328-a5fa-409b-9e59-0a9627b6bb00",
"fromIdentityId" : "b8daa2a5-856e-4189-85ea-f8797fb7e590",
"toOrganizationId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"invitedEmailAddress" : "new.employee-284@acme.com",
"invitationHost" : "cloudziti.io",
"expiration" : {
"nano" : 878720000,
"epochSecond" : 1785784443
},
"targetUserIdentityId" : "c1dd0475-a3e6-4515-af5c-c6781dc74ca1",
"accepted" : null,
"revokedAt" : {
"nano" : 885552000,
"epochSecond" : 1785179643
},
"responseReceivedAt" : {
"nano" : 885554000,
"epochSecond" : 1785179643
},
"toTenantId" : "60454f90-6d77-4420-8a17-0738cce1937d",
"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/DyZD2lkT1LGX5kgBOvnPEyv8QJv6a0Mz1kvz' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 523
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-318@acme.com"
},
"invitedEmailAddress" : "new.employee-320@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-293",
"expiration" : {
"nano" : 624901000,
"epochSecond" : 1785784447
},
"accepted" : null,
"state" : "Open",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-293"
}
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/IaVhfac3IXgE3SA8nnsN6Pc9EAWE3WpQYaEA/decline' -i -X PUT
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 528
{
"fromIdentity" : {
"name" : "John Doe",
"email" : "john.doe@acme.com"
},
"targetIdentity" : {
"name" : "First Last",
"email" : "random-303@acme.com"
},
"invitedEmailAddress" : "new.employee-305@acme.com",
"toOrganizationName" : "ACME International, Inc.",
"toOrganizationLabel" : "ACME-293",
"expiration" : {
"nano" : 183889000,
"epochSecond" : 1785784447
},
"accepted" : false,
"state" : "Declined",
"toTenantName" : "ACME International, Inc.",
"toTenantLabel" : "ACME-293"
}
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/s1DKUKMYFz1xsWSf3tE78xd3Jc61CgM0D7QS/accept-initiate' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"intermediateReturnUrl" : "http://console.nfadmin.netfoundry.io/invitation"
}'
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 987
{
"nfToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3ODUxNzk2NDcsImV4cCI6MTc4NTE4MDU0NywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiZmxvdyI6Imludml0YXRpb24iLCJpbnZpdGF0aW9uSWQiOiJhOGQwYzExOS04Y2E2LTQwMTAtYjgwNS1mMjI1OGU5MmUzM2QiLCJ0ZW5hbnRMYWJlbCI6IkFDTUUtMjkzIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMjk1IiwiYXV0aDAtb3BhcXVlLWNvbm5lY3Rpb25JZC0yOTQiXSwicmVkaXJlY3RVcmwiOiJodHRwOi8vY29uc29sZS5uZmFkbWluLm5ldGZvdW5kcnkuaW8vaW52aXRhdGlvbiJ9.n9XO5l6XF90-C6kBLrVf783L-5EFlqeURqH18fMSF_lBMgPw5-sv3TGY7q2FzD2eE0zGrduPDmlkW2yW5gbjZKjbD2xJeYcOMxE6GmZNWLvMvvUtMGWhnGnTDiUGwdjaEkLkSBvHD69Qxw52HEFpK86WCNEbPpFaotS2WgHC0qkYecCsfH5fspCx9eubMcL6f1BTikIOez0YReWgSZltlIcak7H-8jlNXvlM87wrGNwfQie2UUJkTpRD5nEFmsbiCgGw_XujVrcOUexYGkBuj7WAp9nn374H1AqOknQvlCxE7iWKB_sHJVMkUG_ZaAXdfCYFOEmqyAoMdIZmnkjnJw",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-295", "auth0-opaque-connectionId-294" ]
}
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.eyJpYXQiOjE3ODUxNzk2NDcsImV4cCI6MTc4NTE4MDU0NywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lkZW50aXR5L3YxIiwiYXVkIjoiaHR0cHM6Ly9uZXRmb3VuZHJ5LXNhbmRib3guYXV0aDAuY29tLyIsImZsb3ciOiJsb2dpbiIsInRlbmFudExhYmVsIjoiQUNNRS0yIiwiYXV0aDBDb25uZWN0aW9uSWRzIjpbImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtNCIsImF1dGgwLW9wYXF1ZS1jb25uZWN0aW9uSWQtMyJdLCJyZWRpcmVjdFVybCI6Imh0dHA6Ly9jb25zb2xlLm5mYWRtaW4ubmV0Zm91bmRyeS5pby9pbnZpdGF0aW9uIn0.rBGaogAgnPUjq4Hn7w5dfSo97Nk1aWYRrBSr8UZOEV_JZDLVFgD1LdNNAzdspVxjyL3o24Wz71SfFJsaPbITjobQlR40MLDUSVJ6VQ4dX0LnNkwz7E5Ww1cGH3g25Ob4Nxr2lZHk13foiagVnrVgfd-6_v1YrCj1aTjnAvNUEwWmc5DSeVLz4LPB82Om-Is15KD6UELJUSxTpfgc3xz6gE9SgB7pcd19NKMK70L0tc20Kqt8Dk3MhiNKE-hpE5KazM3Knfm7WFyfqjs2eI6iepP4o5Z5A2ESBLlnYiOyiIx53ZNkQh4M_sS_wnvpiZdpGrF6wTFcNktQIG98SZ5Few",
"auth0ConnectionIds" : [ "auth0-opaque-connectionId-4", "auth0-opaque-connectionId-3" ]
}
Identity Preference Flow
Find Identity Preferences
GET /identity-preferences
Response fields
Standard paging response where content field is list of following objects:
| Path | Type | Optional | Description |
|---|---|---|---|
id |
String |
true |
|
userIdentityId |
String |
true |
|
preferences |
Object |
true |
|
createdBy |
String |
true |
|
createdAt |
Object |
true |
|
updatedAt |
Object |
true |
|
deletedBy |
String |
true |
|
deletedAt |
Object |
true |
Example request
$ curl 'https://gateway.netFoundry.io/identity/v1/identity-preferences' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1283
[ {
"id" : "01334733-c2b4-4fb1-9c20-2c13badd7444",
"userIdentityId" : "7cd6d8f1-8812-4161-9c5c-8bfbf4a1e485",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "7cd6d8f1-8812-4161-9c5c-8bfbf4a1e485",
"createdAt" : {
"nano" : 773609000,
"epochSecond" : 1785179639
},
"updatedAt" : {
"nano" : 773609000,
"epochSecond" : 1785179639
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "142c1f1c-62e1-4787-af68-3fd184d48c1a",
"userIdentityId" : "81ca8423-41d2-4cf5-a8f6-f7152de76224",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "81ca8423-41d2-4cf5-a8f6-f7152de76224",
"createdAt" : {
"nano" : 639339000,
"epochSecond" : 1785179639
},
"updatedAt" : {
"nano" : 639339000,
"epochSecond" : 1785179639
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "57e0a167-6c61-4a0c-8825-19e0e9556935",
"userIdentityId" : "ef77953a-8d03-473a-84bf-05911cc0e07e",
"preferences" : {
"hello" : "world"
},
"createdBy" : "ef77953a-8d03-473a-84bf-05911cc0e07e",
"createdAt" : {
"nano" : 845586000,
"epochSecond" : 1785179639
},
"updatedAt" : {
"nano" : 845586000,
"epochSecond" : 1785179639
},
"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/782431a4-aa97-47da-a069-90c2ec9ce984' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "782431a4-aa97-47da-a069-90c2ec9ce984",
"userIdentityId" : "df48049e-88ff-4ff8-a599-fe45416e7644",
"preferences" : {
"hello" : "world"
},
"createdBy" : "df48049e-88ff-4ff8-a599-fe45416e7644",
"createdAt" : {
"nano" : 304190000,
"epochSecond" : 1785179641
},
"updatedAt" : {
"nano" : 304190000,
"epochSecond" : 1785179641
},
"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" : "fba246ee-1171-4ffa-ad2c-a320ec367b94",
"userIdentityId" : "f0305e97-964f-45a4-90c8-b57878d7534e",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "f0305e97-964f-45a4-90c8-b57878d7534e",
"createdAt" : {
"nano" : 283982000,
"epochSecond" : 1785179640
},
"updatedAt" : {
"nano" : 283982000,
"epochSecond" : 1785179640
},
"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/f8811b05-2848-4ed7-a11b-c252f5e3c930' -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" : "f8811b05-2848-4ed7-a11b-c252f5e3c930",
"userIdentityId" : "c9d3c078-361d-41af-92be-de305b4b71e1",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "c9d3c078-361d-41af-92be-de305b4b71e1",
"createdAt" : {
"nano" : 162159000,
"epochSecond" : 1785179642
},
"updatedAt" : {
"nano" : 179781000,
"epochSecond" : 1785179642
},
"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/82808206-0227-4a87-b0ba-5ae6a3502284' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "82808206-0227-4a87-b0ba-5ae6a3502284",
"userIdentityId" : "c4f438f2-3c7b-43c9-bb51-80b8e63f04e2",
"preferences" : {
"hello" : "world"
},
"createdBy" : "c4f438f2-3c7b-43c9-bb51-80b8e63f04e2",
"createdAt" : {
"nano" : 739338000,
"epochSecond" : 1785179640
},
"updatedAt" : {
"nano" : 763939000,
"epochSecond" : 1785179640
},
"deletedBy" : "1d6a210d-72df-49a9-a8d2-a7bcab9aee7e",
"deletedAt" : {
"nano" : 763000000,
"epochSecond" : 1785179640
}
}
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" : "6cae3b58-55d7-4021-bdcd-8153e668664c",
"organizationId" : "a7b4ad43-e949-47e4-8b38-3f67ffd94cfa",
"preferences" : {
"hello" : "world"
},
"createdBy" : "3483dbad-d112-4648-b3ab-92d277750be2",
"createdAt" : {
"nano" : 552467000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 552467000,
"epochSecond" : 1785179651
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "c6cfb3cd-b694-4e80-8a2d-867f4df8cbe0",
"organizationId" : "0b039b2a-5543-45c4-a10b-8730a5e7f6a3",
"preferences" : {
"hello" : "world"
},
"createdBy" : "71212230-412a-48a7-8df0-9a6b2caab83b",
"createdAt" : {
"nano" : 431307000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 431307000,
"epochSecond" : 1785179651
},
"deletedBy" : null,
"deletedAt" : null
}, {
"id" : "ffa6a9b8-a590-4717-bc7b-debf4c466a3c",
"organizationId" : "e2a6724e-515a-4d93-9b23-6669eba0c158",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "c4fe527c-2afd-4b68-a6bc-dd413afab50e",
"createdAt" : {
"nano" : 489320000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 489320000,
"epochSecond" : 1785179651
},
"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/6cae3b58-55d7-4021-bdcd-8153e668664c' -i -X GET
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 415
{
"id" : "6cae3b58-55d7-4021-bdcd-8153e668664c",
"organizationId" : "a7b4ad43-e949-47e4-8b38-3f67ffd94cfa",
"preferences" : {
"hello" : "world"
},
"createdBy" : "3483dbad-d112-4648-b3ab-92d277750be2",
"createdAt" : {
"nano" : 552467000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 552467000,
"epochSecond" : 1785179651
},
"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" : "e2a6724e-515a-4d93-9b23-6669eba0c158",
"preferences" : {
"first" : "my first preference."
}
}'
Example response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 430
{
"id" : "ffa6a9b8-a590-4717-bc7b-debf4c466a3c",
"organizationId" : "e2a6724e-515a-4d93-9b23-6669eba0c158",
"preferences" : {
"first" : "my first preference."
},
"createdBy" : "c4fe527c-2afd-4b68-a6bc-dd413afab50e",
"createdAt" : {
"nano" : 489320000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 489320000,
"epochSecond" : 1785179651
},
"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/c0673a38-412a-4303-9014-da3aa95c4816' -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" : "c0673a38-412a-4303-9014-da3aa95c4816",
"organizationId" : "d275307d-194e-4104-a576-e76f497ba067",
"preferences" : {
"updated" : "my second preference."
},
"createdBy" : "4b8b2473-727c-41a5-a54a-036a9a92d295",
"createdAt" : {
"nano" : 753118000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 765344000,
"epochSecond" : 1785179651
},
"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/3ed75e7a-5f5f-4381-87cd-19e8bd1cac40' -i -X DELETE
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 505
{
"id" : "3ed75e7a-5f5f-4381-87cd-19e8bd1cac40",
"organizationId" : "4fe95f89-0a0d-4f93-a0fe-ea810ef7c7a4",
"preferences" : {
"hello" : "world"
},
"createdBy" : "7ff4291c-c239-46db-ad14-1d92a4ad12fa",
"createdAt" : {
"nano" : 517267000,
"epochSecond" : 1785179651
},
"updatedAt" : {
"nano" : 525122000,
"epochSecond" : 1785179651
},
"deletedBy" : "bc2e6301-97fb-4eb2-b3d4-41bb9802b4f7",
"deletedAt" : {
"nano" : 524000000,
"epochSecond" : 1785179651
}
}