mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-02 00:48:52 +00:00
fix: proto (#260)
* fix: global search calls * fix: management proto * fix: management proto mock * fix: remove unused request * fix: add mock file * fix: remove unused objects * fix: unique username
This commit is contained in:
@@ -19,35 +19,9 @@
|
||||
"application/grpc"
|
||||
],
|
||||
"paths": {
|
||||
"/authgrants/_search": {
|
||||
"post": {
|
||||
"summary": "Grant",
|
||||
"operationId": "SearchAuthGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1AuthGrantSearchResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1AuthGrantSearchRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/global/orgs/domain/{domain}": {
|
||||
"/global/orgs/_bydomain": {
|
||||
"get": {
|
||||
"summary": "search a organisation by its domain overall organisations",
|
||||
"operationId": "GetOrgByDomainGlobal",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -60,50 +34,9 @@
|
||||
"parameters": [
|
||||
{
|
||||
"name": "domain",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "org_id",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "creation_date",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "change_date",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
{
|
||||
"name": "verified",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "primary",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "sequence",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
@@ -111,8 +44,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/global/users/email/{email}": {
|
||||
"/global/users/_byemail": {
|
||||
"get": {
|
||||
"summary": "GetUserByEmailGlobal returns User, global search is overall organisations",
|
||||
"operationId": "GetUserByEmailGlobal",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -125,8 +59,8 @@
|
||||
"parameters": [
|
||||
{
|
||||
"name": "email",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
@@ -137,7 +71,7 @@
|
||||
},
|
||||
"/grantedprojects/_search": {
|
||||
"post": {
|
||||
"summary": "GRANTED_PROJECT_GRANTS",
|
||||
"summary": "returns all projects my organisation got granted from another organisation",
|
||||
"operationId": "SearchGrantedProjects",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -164,6 +98,7 @@
|
||||
},
|
||||
"/grantedprojects/{project_id}/grants/{id}": {
|
||||
"get": {
|
||||
"summary": "returns a project my organisation got granted from another organisation",
|
||||
"operationId": "GetGrantedProjectByID",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -211,7 +146,7 @@
|
||||
},
|
||||
"/iam": {
|
||||
"get": {
|
||||
"summary": "IAM",
|
||||
"summary": "GetIam returns some needed settings of the iam (Global Organisation ID, Zitadel Project ID)",
|
||||
"operationId": "GetIam",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -226,6 +161,74 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/me": {
|
||||
"get": {
|
||||
"operationId": "GetMyOrg",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1OrgView"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/me/_deactivate": {
|
||||
"put": {
|
||||
"operationId": "DeactivateMyOrg",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1Org"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/me/_reactivate": {
|
||||
"put": {
|
||||
"operationId": "ReactivateMyOrg",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1Org"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/me/domains": {
|
||||
"post": {
|
||||
"operationId": "AddMyOrgDomain",
|
||||
@@ -304,7 +307,6 @@
|
||||
},
|
||||
"/orgs/me/iampolicy": {
|
||||
"get": {
|
||||
"summary": "ORG_IAM_POLICY",
|
||||
"operationId": "GetMyOrgIamPolicy",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -427,7 +429,6 @@
|
||||
},
|
||||
"/orgs/members/roles": {
|
||||
"get": {
|
||||
"summary": "ORG_MEMBERS",
|
||||
"operationId": "GetOrgMemberRoles",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -442,97 +443,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{id}": {
|
||||
"get": {
|
||||
"summary": "ORG",
|
||||
"operationId": "GetOrgByID",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1OrgView"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{id}/_deactivate": {
|
||||
"put": {
|
||||
"operationId": "DeactivateOrg",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1Org"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1OrgID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{id}/_reactivate": {
|
||||
"put": {
|
||||
"operationId": "ReactivateOrg",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1Org"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1OrgID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/orgs/{id}/changes": {
|
||||
"get": {
|
||||
"summary": "OrgChanges returns the event stream of the org object",
|
||||
"operationId": "OrgChanges",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -577,7 +490,7 @@
|
||||
},
|
||||
"/policies/passwords/age": {
|
||||
"get": {
|
||||
"summary": "PASSWORD_AGE_POLICY",
|
||||
"summary": "returns default if nothing other set on organisation",
|
||||
"operationId": "GetPasswordAgePolicy",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -664,7 +577,7 @@
|
||||
},
|
||||
"/policies/passwords/complexity": {
|
||||
"get": {
|
||||
"summary": "PASSWORD_COMPLEXITY_POLICY",
|
||||
"summary": "returns default policy if nothing other set on organisation",
|
||||
"operationId": "GetPasswordComplexityPolicy",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -751,7 +664,7 @@
|
||||
},
|
||||
"/policies/passwords/lockout": {
|
||||
"get": {
|
||||
"summary": "PASSWORD_LOCKOUT_POLICY",
|
||||
"summary": "returns default if nothing other set on organisation",
|
||||
"operationId": "GetPasswordLockoutPolicy",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -838,7 +751,7 @@
|
||||
},
|
||||
"/projectgrants/{project_grant_id}/users/grants/_search": {
|
||||
"post": {
|
||||
"summary": "PROJECT_GRANT_USER_GRANT",
|
||||
"summary": "search user grants based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "SearchProjectGrantUserGrants",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -871,6 +784,7 @@
|
||||
},
|
||||
"/projectgrants/{project_grant_id}/users/{user_id}/grants": {
|
||||
"post": {
|
||||
"summary": "create user grant based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "CreateProjectGrantUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -909,6 +823,7 @@
|
||||
},
|
||||
"/projectgrants/{project_grant_id}/users/{user_id}/grants/{id}": {
|
||||
"get": {
|
||||
"summary": "get user grant based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "ProjectGrantUserGrantByID",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -943,6 +858,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "update user grant based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "UpdateProjectGrantUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -987,6 +903,7 @@
|
||||
},
|
||||
"/projectgrants/{project_grant_id}/users/{user_id}/grants/{id}/_deactivate": {
|
||||
"put": {
|
||||
"summary": "deactivate user grant based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "DeactivateProjectGrantUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1031,6 +948,7 @@
|
||||
},
|
||||
"/projectgrants/{project_grant_id}/users/{user_id}/grants/{id}/_reactivate": {
|
||||
"put": {
|
||||
"summary": "reactivate user grant based on a projectgrant\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "ReactivateProjectGrantUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1101,7 +1019,6 @@
|
||||
},
|
||||
"/projects/_search": {
|
||||
"post": {
|
||||
"summary": "PROJECTS",
|
||||
"operationId": "SearchProjects",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1128,7 +1045,6 @@
|
||||
},
|
||||
"/projects/grants/members/roles": {
|
||||
"get": {
|
||||
"summary": "PROJECT_GRANT_MEMBER",
|
||||
"operationId": "GetProjectGrantMemberRoles",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1145,7 +1061,6 @@
|
||||
},
|
||||
"/projects/members/roles": {
|
||||
"get": {
|
||||
"summary": "PROJECT_MEMBERS",
|
||||
"operationId": "GetProjectMemberRoles",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1280,6 +1195,7 @@
|
||||
},
|
||||
"/projects/{id}/applications/{sec_id}/changes": {
|
||||
"get": {
|
||||
"summary": "ApplicationChanges returns the event stream of the application object",
|
||||
"operationId": "ApplicationChanges",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1324,6 +1240,7 @@
|
||||
},
|
||||
"/projects/{id}/changes": {
|
||||
"get": {
|
||||
"summary": "ProjectChanges returns the event stream of the project object",
|
||||
"operationId": "ProjectChanges",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1498,6 +1415,7 @@
|
||||
},
|
||||
"/projects/{id}/roles/_bulk": {
|
||||
"post": {
|
||||
"summary": "add a list of project roles in one request",
|
||||
"operationId": "BulkAddProjectRole",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1597,7 +1515,6 @@
|
||||
},
|
||||
"/projects/{project_id}/applications/_search": {
|
||||
"post": {
|
||||
"summary": "APPLICATIONS",
|
||||
"operationId": "SearchApplications",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -1908,7 +1825,6 @@
|
||||
},
|
||||
"/projects/{project_id}/grants/_search": {
|
||||
"post": {
|
||||
"summary": "PROJECT_GRANT",
|
||||
"operationId": "SearchProjectGrants",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2123,6 +2039,7 @@
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"summary": "RemoveProjectGrant removes project grant and all user grants for this project grant",
|
||||
"operationId": "RemoveProjectGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2329,7 +2246,6 @@
|
||||
},
|
||||
"/projects/{project_id}/roles/_search": {
|
||||
"post": {
|
||||
"summary": "PROJECT_ROLES",
|
||||
"operationId": "SearchProjectRoles",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2362,7 +2278,7 @@
|
||||
},
|
||||
"/projects/{project_id}/users/grants/_search": {
|
||||
"post": {
|
||||
"summary": "PROJECT_USER_GRANT",
|
||||
"summary": "search user grants based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "SearchProjectUserGrants",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2395,6 +2311,7 @@
|
||||
},
|
||||
"/projects/{project_id}/users/{user_id}/grants": {
|
||||
"post": {
|
||||
"summary": "create user grant based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "CreateProjectUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2433,6 +2350,7 @@
|
||||
},
|
||||
"/projects/{project_id}/users/{user_id}/grants/{id}": {
|
||||
"get": {
|
||||
"summary": "get user grant based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "ProjectUserGrantByID",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2467,6 +2385,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "update user grant based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "UpdateProjectUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2511,6 +2430,7 @@
|
||||
},
|
||||
"/projects/{project_id}/users/{user_id}/grants/{id}/_deactivate": {
|
||||
"put": {
|
||||
"summary": "deactivate user grant based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "DeactivateProjectUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2555,6 +2475,7 @@
|
||||
},
|
||||
"/projects/{project_id}/users/{user_id}/grants/{id}/_reactivate": {
|
||||
"put": {
|
||||
"summary": "reactivate user grant based on a project\nThis request is required that the user authorizations of zitadel can be differentiated",
|
||||
"operationId": "ReactivateProjectUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2615,6 +2536,7 @@
|
||||
},
|
||||
"/usergrants/_bulk": {
|
||||
"post": {
|
||||
"summary": "add a list of user grants in one request",
|
||||
"operationId": "BulkCreateUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2639,6 +2561,7 @@
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"summary": "update a list of user grants in one request",
|
||||
"operationId": "BulkUpdateUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2721,6 +2644,7 @@
|
||||
},
|
||||
"/users/_search": {
|
||||
"post": {
|
||||
"summary": "Limit should always be set, there is a default limit set by the service",
|
||||
"operationId": "SearchUsers",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2747,7 +2671,6 @@
|
||||
},
|
||||
"/users/grants/_search": {
|
||||
"post": {
|
||||
"summary": "USER_GRANT",
|
||||
"operationId": "SearchUserGrants",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2774,7 +2697,6 @@
|
||||
},
|
||||
"/users/{id}": {
|
||||
"get": {
|
||||
"summary": "USER",
|
||||
"operationId": "GetUserByID",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -2915,72 +2837,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/_sendsetpwnotify": {
|
||||
"post": {
|
||||
"summary": "PASSWORD\nSends an Notification (Email/SMS) with a password reset Link",
|
||||
"operationId": "SendSetPasswordNotification",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1SetPasswordNotificationRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/_setinitialpw": {
|
||||
"post": {
|
||||
"summary": "A Manager is only allowed to set an initial password, on the next login the user has to change his password",
|
||||
"operationId": "SetInitialPassword",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1PasswordRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/_unlock": {
|
||||
"put": {
|
||||
"operationId": "UnlockUser",
|
||||
@@ -3015,7 +2871,6 @@
|
||||
},
|
||||
"/users/{id}/address": {
|
||||
"get": {
|
||||
"summary": "USER_ADDRESS",
|
||||
"operationId": "GetUserAddress",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3070,6 +2925,7 @@
|
||||
},
|
||||
"/users/{id}/changes": {
|
||||
"get": {
|
||||
"summary": "UserChanges returns the event stream of the user object",
|
||||
"operationId": "UserChanges",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3114,7 +2970,6 @@
|
||||
},
|
||||
"/users/{id}/email": {
|
||||
"get": {
|
||||
"summary": "USER_EMAIL",
|
||||
"operationId": "GetUserEmail",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3201,7 +3056,6 @@
|
||||
},
|
||||
"/users/{id}/mfas": {
|
||||
"get": {
|
||||
"summary": "MFA",
|
||||
"operationId": "GetUserMfas",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3224,9 +3078,74 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/password/_initialize": {
|
||||
"post": {
|
||||
"summary": "A Manager is only allowed to set an initial password, on the next login the user has to change his password",
|
||||
"operationId": "SetInitialPassword",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1PasswordRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/password/_sendsetnotification": {
|
||||
"post": {
|
||||
"summary": "Sends an Notification (Email/SMS) with a password reset Link",
|
||||
"operationId": "SendSetPasswordNotification",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/v1SetPasswordNotificationRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"ManagementService"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users/{id}/phone": {
|
||||
"get": {
|
||||
"summary": "USER_PHONE",
|
||||
"operationId": "GetUserPhone",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3313,7 +3232,6 @@
|
||||
},
|
||||
"/users/{id}/profile": {
|
||||
"get": {
|
||||
"summary": "USER_PROFILE",
|
||||
"operationId": "GetUserProfile",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3570,6 +3488,7 @@
|
||||
},
|
||||
"/usersgrants/_bulk": {
|
||||
"delete": {
|
||||
"summary": "remove a list of user grants in one request",
|
||||
"operationId": "BulkRemoveUserGrant",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -3859,99 +3778,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1AuthGrant": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orgId": {
|
||||
"type": "string"
|
||||
},
|
||||
"projectId": {
|
||||
"type": "string"
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1AuthGrantSearchKey": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"AUTHGRANTSEARCHKEY_UNSPECIFIED",
|
||||
"AUTHGRANTSEARCHKEY_ORG_ID",
|
||||
"AUTHGRANTSEARCHKEY_PROJECT_ID",
|
||||
"AUTHGRANTSEARCHKEY_USER_ID"
|
||||
],
|
||||
"default": "AUTHGRANTSEARCHKEY_UNSPECIFIED"
|
||||
},
|
||||
"v1AuthGrantSearchQuery": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"$ref": "#/definitions/v1AuthGrantSearchKey"
|
||||
},
|
||||
"method": {
|
||||
"$ref": "#/definitions/v1SearchMethod"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1AuthGrantSearchRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"offset": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"limit": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"sorting_column": {
|
||||
"$ref": "#/definitions/v1AuthGrantSearchKey"
|
||||
},
|
||||
"asc": {
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
"queries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/v1AuthGrantSearchQuery"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1AuthGrantSearchResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"offset": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"limit": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"total_result": {
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
"result": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/v1AuthGrant"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1Change": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4478,14 +4304,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1OrgID": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"v1OrgIamPolicy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user