2020-10-21 08:00:49 +00:00
{
"swagger" : "2.0" ,
"info" : {
"title" : "Management API" ,
"version" : "0.1" ,
"contact" : {
"url" : "https://github.com/caos/zitadel/pkg/management"
}
} ,
"schemes" : [
"https"
] ,
"consumes" : [
"application/json" ,
"application/grpc"
] ,
"produces" : [
"application/json" ,
"application/grpc"
] ,
"paths" : {
"/global/orgs/_bydomain" : {
"get" : {
"summary" : "search a organisation by its domain overall organisations" ,
"operationId" : "ManagementService_GetOrgByDomainGlobal" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "domain" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/global/users/_byloginname" : {
"get" : {
"summary" : "GetUserByLoginNameGlobal returns User, global search is overall organisations" ,
"operationId" : "ManagementService_GetUserByLoginNameGlobal" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "login_name" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/grantedprojects/_search" : {
"post" : {
"summary" : "returns all projects my organisation got granted from another organisation" ,
"operationId" : "ManagementService_SearchGrantedProjects" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1GrantedProjectSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/grantedprojects/{project_id}/grants/{id}" : {
"get" : {
"summary" : "returns a project my organisation got granted from another organisation" ,
"operationId" : "ManagementService_GetGrantedProjectByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/healthz" : {
"get" : {
"summary" : "READINESS" ,
"operationId" : "ManagementService_Healthz" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/iam" : {
"get" : {
"summary" : "GetIam returns some needed settings of the iam (Global Organisation ID, Zitadel Project ID)" ,
"operationId" : "ManagementService_GetIam" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Iam"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs" : {
"post" : {
"operationId" : "ManagementService_CreateOrg" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Org"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OrgCreateRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/default/policies/login" : {
"get" : {
"operationId" : "ManagementService_GetDefaultLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/default/policies/password/age" : {
"get" : {
"operationId" : "ManagementService_GetDefaultPasswordAgePolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/default/policies/password/complexity" : {
"get" : {
"operationId" : "ManagementService_GetDefaultPasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/default/policies/password/lockout" : {
"get" : {
"operationId" : "ManagementService_GetDefaultPasswordLockoutPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me" : {
"get" : {
"operationId" : "ManagementService_GetMyOrg" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateMyOrg" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Org"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"properties" : { }
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateMyOrg" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Org"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"properties" : { }
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains" : {
"post" : {
"operationId" : "ManagementService_AddMyOrgDomain" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgDomain"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1AddOrgDomainRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains/_search" : {
"post" : {
"operationId" : "ManagementService_SearchMyOrgDomains" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgDomainSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OrgDomainSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains/{domain}" : {
"delete" : {
"operationId" : "ManagementService_RemoveMyOrgDomain" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "domain" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains/{domain}/_primary" : {
"post" : {
"operationId" : "ManagementService_SetMyPrimaryOrgDomain" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "domain" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains/{domain}/validation/check" : {
"post" : {
"operationId" : "ManagementService_ValidateMyOrgDomain" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "domain" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ValidateOrgDomainRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/domains/{domain}/validation/create" : {
"post" : {
"operationId" : "ManagementService_GenerateMyOrgDomainValidation" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgDomainValidationResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "domain" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OrgDomainValidationRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/iampolicy" : {
"get" : {
"operationId" : "ManagementService_GetMyOrgIamPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgIamPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/_search" : {
"post" : {
"operationId" : "ManagementService_SearchIdps" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1IdpSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/oidc" : {
"post" : {
"operationId" : "ManagementService_CreateOidcIdp" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Idp"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OidcIdpConfigCreate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/{idp_id}/oidcconfig" : {
"put" : {
"operationId" : "ManagementService_UpdateOidcIdpConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OidcIdpConfig"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "idp_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OidcIdpConfigUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/{id}" : {
"get" : {
"operationId" : "ManagementService_IdpByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1IdpView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveIdpConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateIdpConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Idp"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateIdpConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Idp"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/idps/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateIdpConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Idp"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/members" : {
"post" : {
"operationId" : "ManagementService_AddMyOrgMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1AddOrgMemberRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/members/_search" : {
"post" : {
"operationId" : "ManagementService_SearchMyOrgMembers" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgMemberSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OrgMemberSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/members/{user_id}" : {
"delete" : {
"operationId" : "ManagementService_RemoveMyOrgMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeMyOrgMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ChangeOrgMemberRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login" : {
"get" : {
"operationId" : "ManagementService_GetLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"post" : {
"operationId" : "ManagementService_CreateLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1LoginPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/idpproviders" : {
"post" : {
"operationId" : "ManagementService_AddIdpProviderToLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1IdpProvider"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpProviderAdd"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/idpproviders/_search" : {
"post" : {
"operationId" : "ManagementService_GetLoginPolicyIdpProviders" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1IdpProviderSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1IdpProviderSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/idpproviders/{idp_config_id}" : {
"delete" : {
"operationId" : "ManagementService_RemoveIdpProviderFromLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "idp_config_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
2020-11-04 10:26:10 +00:00
"/orgs/me/policies/login/multifactors" : {
"post" : {
"operationId" : "ManagementService_AddMultiFactorToLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MultiFactor"
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1MultiFactor"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/multifactors/_search" : {
"get" : {
"operationId" : "ManagementService_GetLoginPolicyMultiFactors" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MultiFactorsResult"
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/multifactors/{multi_factor}" : {
"delete" : {
"operationId" : "ManagementService_RemoveMultiFactorFromLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "multi_factor" ,
"in" : "path" ,
"required" : true ,
"type" : "string" ,
"enum" : [
"MULTIFACTORTYPE_UNSPECIFIED" ,
"MULTIFACTORTYPE_U2F_WITH_PIN"
]
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/secondfactors" : {
"post" : {
"operationId" : "ManagementService_AddSecondFactorToLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1SecondFactor"
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1SecondFactor"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/secondfactors/_search" : {
"get" : {
"operationId" : "ManagementService_GetLoginPolicySecondFactors" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1SecondFactorsResult"
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/login/secondfactors/{second_factor}" : {
"delete" : {
"operationId" : "ManagementService_RemoveSecondFactorFromLoginPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
"description" : "An unexpected error response" ,
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "second_factor" ,
"in" : "path" ,
"required" : true ,
"type" : "string" ,
"enum" : [
"SECONDFACTORTYPE_UNSPECIFIED" ,
"SECONDFACTORTYPE_OTP" ,
"SECONDFACTORTYPE_U2F"
]
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
2020-10-21 08:00:49 +00:00
"/orgs/me/policies/password/age" : {
"get" : {
"operationId" : "ManagementService_GetPasswordAgePolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemovePasswordAgePolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"post" : {
"operationId" : "ManagementService_CreatePasswordAgePolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdatePasswordAgePolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordAgePolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/password/complexity" : {
"get" : {
"operationId" : "ManagementService_GetPasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemovePasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"post" : {
"operationId" : "ManagementService_CreatePasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdatePasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/me/policies/password/lockout" : {
"get" : {
"operationId" : "ManagementService_GetPasswordLockoutPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemovePasswordLockoutPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
} ,
"post" : {
"operationId" : "ManagementService_CreatePasswordLockoutPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdatePasswordLockoutPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicy"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1PasswordLockoutPolicyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/members/roles" : {
"get" : {
"operationId" : "ManagementService_GetOrgMemberRoles" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OrgMemberRoles"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/orgs/{id}/changes" : {
"get" : {
"summary" : "OrgChanges returns the event stream of the org object" ,
"operationId" : "ManagementService_OrgChanges" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Changes"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "sec_id" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
} ,
{
"name" : "limit" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "sequence_offset" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "asc" ,
"in" : "query" ,
"required" : false ,
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects" : {
"post" : {
"operationId" : "ManagementService_CreateProject" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Project"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectCreateRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/_search" : {
"post" : {
"operationId" : "ManagementService_SearchProjects" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/grants/members/roles" : {
"get" : {
"operationId" : "ManagementService_GetProjectGrantMemberRoles" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMemberRoles"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/members/roles" : {
"get" : {
"operationId" : "ManagementService_GetProjectMemberRoles" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMemberRoles"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}" : {
"get" : {
"operationId" : "ManagementService_ProjectByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveProject" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateProject" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Project"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectUpdateRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateProject" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Project"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateProject" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Project"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/applications/{sec_id}/changes" : {
"get" : {
"summary" : "ApplicationChanges returns the event stream of the application object" ,
"operationId" : "ManagementService_ApplicationChanges" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Changes"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "sec_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "limit" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "sequence_offset" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "asc" ,
"in" : "query" ,
"required" : false ,
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/changes" : {
"get" : {
"summary" : "ProjectChanges returns the event stream of the project object" ,
"operationId" : "ManagementService_ProjectChanges" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Changes"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "sec_id" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
} ,
{
"name" : "limit" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "sequence_offset" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "asc" ,
"in" : "query" ,
"required" : false ,
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/members" : {
"post" : {
"operationId" : "ManagementService_AddProjectMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMemberAdd"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/members/{user_id}" : {
"delete" : {
"operationId" : "ManagementService_RemoveProjectMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeProjectMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMemberChange"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/roles" : {
"post" : {
"operationId" : "ManagementService_AddProjectRole" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRole"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRoleAdd"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/roles/_bulk" : {
"post" : {
"summary" : "add a list of project roles in one request" ,
"operationId" : "ManagementService_BulkAddProjectRole" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRoleAddBulk"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{id}/roles/{key}" : {
"delete" : {
"summary" : "RemoveProjectRole removes role from UserGrants, ProjectGrants and from Project" ,
"operationId" : "ManagementService_RemoveProjectRole" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "key" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeProjectRole" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRole"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "key" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRoleChange"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/_search" : {
"post" : {
"operationId" : "ManagementService_SearchApplications" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/oidc" : {
"post" : {
"operationId" : "ManagementService_CreateOIDCApplication" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Application"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OIDCApplicationCreate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/{application_id}/oidcconfig" : {
"put" : {
"operationId" : "ManagementService_UpdateApplicationOIDCConfig" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1OIDCConfig"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "application_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1OIDCConfigUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/{id}" : {
"get" : {
"operationId" : "ManagementService_ApplicationByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveApplication" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateApplication" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Application"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateApplication" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Application"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateApplication" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Application"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/applications/{id}/oidcconfig/_changeclientsecret" : {
"put" : {
"operationId" : "ManagementService_RegenerateOIDCClientSecret" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ClientSecret"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ApplicationID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants" : {
"post" : {
"operationId" : "ManagementService_CreateProjectGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantCreate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/_search" : {
"post" : {
"operationId" : "ManagementService_SearchProjectGrants" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{grant_id}/members" : {
"post" : {
"operationId" : "ManagementService_AddProjectGrantMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "grant_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMemberAdd"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{grant_id}/members/_search" : {
"post" : {
"operationId" : "ManagementService_SearchProjectGrantMembers" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMemberSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "grant_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMemberSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{grant_id}/members/{user_id}" : {
"delete" : {
"operationId" : "ManagementService_RemoveProjectGrantMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "grant_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeProjectGrantMember" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMember"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "grant_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantMemberChange"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{id}" : {
"get" : {
"operationId" : "ManagementService_ProjectGrantByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"summary" : "RemoveProjectGrant removes project grant and all user grants for this project grant" ,
"operationId" : "ManagementService_RemoveProjectGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateProjectGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateProjectGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/grants/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateProjectGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectGrantID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/members/_search" : {
"post" : {
"operationId" : "ManagementService_SearchProjectMembers" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMemberSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectMemberSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/projects/{project_id}/roles/_search" : {
"post" : {
"operationId" : "ManagementService_SearchProjectRoles" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRoleSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "project_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ProjectRoleSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/ready" : {
"get" : {
"operationId" : "ManagementService_Ready" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/users" : {
"post" : {
"operationId" : "ManagementService_CreateUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1CreateUserRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/_isunique" : {
"get" : {
"operationId" : "ManagementService_IsUserUnique" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UniqueUserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_name" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
} ,
{
"name" : "email" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/_search" : {
"post" : {
"summary" : "Limit should always be set, there is a default limit set by the service" ,
"operationId" : "ManagementService_SearchUsers" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/grants/_search" : {
"post" : {
"operationId" : "ManagementService_SearchUserGrants" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}" : {
"get" : {
"operationId" : "ManagementService_GetUserByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_DeleteUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/_lock" : {
"put" : {
"operationId" : "ManagementService_LockUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/_unlock" : {
"put" : {
"operationId" : "ManagementService_UnlockUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/address" : {
"get" : {
"operationId" : "ManagementService_GetUserAddress" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserAddressView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateUserAddress" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserAddress"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserAddressRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/changes" : {
"get" : {
"summary" : "UserChanges returns the event stream of the user object" ,
"operationId" : "ManagementService_UserChanges" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Changes"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "sec_id" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
} ,
{
"name" : "limit" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "sequence_offset" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "asc" ,
"in" : "query" ,
"required" : false ,
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/email" : {
"get" : {
"operationId" : "ManagementService_GetUserEmail" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserEmailView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeUserEmail" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserEmail"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserEmailRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/email/_resendverification" : {
"post" : {
"operationId" : "ManagementService_ResendEmailVerificationMail" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/machine" : {
"put" : {
"operationId" : "ManagementService_UpdateUserMachine" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MachineResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateMachineRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/mfas" : {
"get" : {
"operationId" : "ManagementService_GetUserMfas" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-11-04 10:26:10 +00:00
"$ref" : "#/definitions/v1UserMultiFactors"
2020-10-21 08:00:49 +00:00
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/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" : "ManagementService_SetInitialPassword" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"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" : "ManagementService_SendSetPasswordNotification" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"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" : {
"operationId" : "ManagementService_GetUserPhone" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserPhoneView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveUserPhone" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_ChangeUserPhone" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserPhone"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserPhoneRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/phone/_resendverification" : {
"post" : {
"operationId" : "ManagementService_ResendPhoneVerificationCode" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/profile" : {
"get" : {
"operationId" : "ManagementService_GetUserProfile" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserProfileView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateUserProfile" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserProfile"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserProfileRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{id}/username" : {
"get" : {
"operationId" : "ManagementService_ChangeUserUserName" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "user_name" ,
"in" : "query" ,
"required" : false ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/externalidps/_search" : {
"post" : {
"operationId" : "ManagementService_SearchUserExternalIDPs" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ExternalIDPSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ExternalIDPSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/externalidps/{idp_config_id}/{external_user_id}" : {
"delete" : {
"operationId" : "ManagementService_RemoveExternalIDP" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "idp_config_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "external_user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/grants" : {
"post" : {
"operationId" : "ManagementService_CreateUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantCreate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/grants/{id}" : {
"get" : {
"operationId" : "ManagementService_UserGrantByID" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_RemoveUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"put" : {
"operationId" : "ManagementService_UpdateUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantUpdate"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/grants/{id}/_deactivate" : {
"put" : {
"operationId" : "ManagementService_DeactivateUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/grants/{id}/_reactivate" : {
"put" : {
"operationId" : "ManagementService_ReactivateUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrant"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantID"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/keys" : {
"post" : {
"operationId" : "ManagementService_AddMachineKey" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1AddMachineKeyResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1AddMachineKeyRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/keys/_search" : {
"post" : {
"operationId" : "ManagementService_SearchMachineKeys" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MachineKeySearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1MachineKeySearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/keys/{key_id}" : {
"get" : {
"operationId" : "ManagementService_GetMachineKey" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MachineKeyView"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "key_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
} ,
"delete" : {
"operationId" : "ManagementService_DeleteMachineKey" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "key_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/users/{user_id}/memberships/_search" : {
"post" : {
"operationId" : "ManagementService_SearchUserMemberships" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserMembershipSearchResponse"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "user_id" ,
"in" : "path" ,
"required" : true ,
"type" : "string"
} ,
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserMembershipSearchRequest"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/usersgrants/_bulk" : {
"delete" : {
"summary" : "remove a list of user grants in one request" ,
"operationId" : "ManagementService_BulkRemoveUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantRemoveBulk"
}
}
] ,
"tags" : [
"ManagementService"
]
}
} ,
"/validate" : {
"get" : {
"operationId" : "ManagementService_Validate" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"type" : "object"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
} ,
"/zitadel/docs" : {
"get" : {
"operationId" : "ManagementService_GetZitadelDocs" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1ZitadelDocs"
}
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"description" : "An unexpected error response" ,
2020-10-21 08:00:49 +00:00
"schema" : {
"$ref" : "#/definitions/runtimeError"
}
}
} ,
"tags" : [
"ManagementService"
]
}
}
} ,
"definitions" : {
"protobufAny" : {
"type" : "object" ,
"properties" : {
"type_url" : {
"type" : "string" ,
"description" : "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics."
} ,
"value" : {
"type" : "string" ,
"format" : "byte" ,
"description" : "Must be a valid serialized protocol buffer of the above specified type."
}
} ,
"description" : "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
} ,
"protobufNullValue" : {
"type" : "string" ,
"enum" : [
"NULL_VALUE"
] ,
"default" : "NULL_VALUE" ,
"description" : "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
} ,
"runtimeError" : {
"type" : "object" ,
"properties" : {
"error" : {
"type" : "string"
} ,
"code" : {
"type" : "integer" ,
"format" : "int32"
} ,
"message" : {
"type" : "string"
} ,
"details" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/protobufAny"
}
}
}
} ,
"v1AddMachineKeyRequest" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"type" : {
"$ref" : "#/definitions/v1MachineKeyType"
} ,
"expiration_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1AddMachineKeyResponse" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"type" : {
"$ref" : "#/definitions/v1MachineKeyType"
} ,
"expiration_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"key_details" : {
"type" : "string" ,
"format" : "byte"
}
}
} ,
"v1AddOrgDomainRequest" : {
"type" : "object" ,
"properties" : {
"domain" : {
"type" : "string"
}
}
} ,
"v1AddOrgMemberRequest" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1AppState" : {
"type" : "string" ,
"enum" : [
"APPSTATE_UNSPECIFIED" ,
"APPSTATE_ACTIVE" ,
"APPSTATE_INACTIVE"
] ,
"default" : "APPSTATE_UNSPECIFIED"
} ,
"v1Application" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1AppState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"oidc_config" : {
"$ref" : "#/definitions/v1OIDCConfig"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ApplicationID" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
}
}
} ,
"v1ApplicationSearchKey" : {
"type" : "string" ,
"enum" : [
"APPLICATIONSERACHKEY_UNSPECIFIED" ,
"APPLICATIONSEARCHKEY_APP_NAME"
] ,
"default" : "APPLICATIONSERACHKEY_UNSPECIFIED"
} ,
"v1ApplicationSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ApplicationSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ApplicationSearchRequest" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ApplicationSearchQuery"
}
}
}
} ,
"v1ApplicationSearchResponse" : {
"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/v1ApplicationView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ApplicationUpdate" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
}
}
} ,
"v1ApplicationView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1AppState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"oidc_config" : {
"$ref" : "#/definitions/v1OIDCConfig"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1Change" : {
"type" : "object" ,
"properties" : {
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"event_type" : {
"$ref" : "#/definitions/v1LocalizedMessage"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"editor_id" : {
"type" : "string"
} ,
"editor" : {
"type" : "string"
} ,
"data" : {
"type" : "object"
}
}
} ,
"v1ChangeOrgMemberRequest" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1Changes" : {
"type" : "object" ,
"properties" : {
"changes" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1Change"
}
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ClientSecret" : {
"type" : "object" ,
"properties" : {
"client_secret" : {
"type" : "string"
}
}
} ,
"v1CreateHumanRequest" : {
"type" : "object" ,
"properties" : {
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
} ,
"password" : {
"type" : "string"
}
}
} ,
"v1CreateMachineRequest" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
}
}
} ,
"v1CreateUserRequest" : {
"type" : "object" ,
"properties" : {
"user_name" : {
"type" : "string"
} ,
"human" : {
"$ref" : "#/definitions/v1CreateHumanRequest"
} ,
"machine" : {
"$ref" : "#/definitions/v1CreateMachineRequest"
}
}
} ,
"v1ExternalIDPSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"user_id" : {
"type" : "string"
}
}
} ,
"v1ExternalIDPSearchResponse" : {
"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/v1ExternalIDPView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ExternalIDPView" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"idp_config_id" : {
"type" : "string"
} ,
"external_user_id" : {
"type" : "string"
} ,
"idp_name" : {
"type" : "string"
} ,
"external_user_display_name" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1Gender" : {
"type" : "string" ,
"enum" : [
"GENDER_UNSPECIFIED" ,
"GENDER_FEMALE" ,
"GENDER_MALE" ,
"GENDER_DIVERSE"
] ,
"default" : "GENDER_UNSPECIFIED"
} ,
"v1GrantedProjectSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectSearchQuery"
}
}
}
} ,
"v1HumanResponse" : {
"type" : "object" ,
"properties" : {
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
}
}
} ,
"v1HumanView" : {
"type" : "object" ,
"properties" : {
"password_changed" : {
"type" : "string" ,
"format" : "date-time"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
}
}
} ,
"v1Iam" : {
"type" : "object" ,
"properties" : {
"global_org_id" : {
"type" : "string"
} ,
"iam_project_id" : {
"type" : "string"
} ,
"set_up_done" : {
"$ref" : "#/definitions/v1IamSetupStep"
} ,
"set_up_started" : {
"$ref" : "#/definitions/v1IamSetupStep"
}
}
} ,
"v1IamSetupStep" : {
"type" : "string" ,
"enum" : [
"iam_setup_step_UNDEFINED" ,
"iam_setup_step_1" ,
"iam_setup_step_2"
] ,
"default" : "iam_setup_step_UNDEFINED"
} ,
"v1Idp" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1IdpState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"styling_type" : {
"$ref" : "#/definitions/v1IdpStylingType"
} ,
"oidc_config" : {
"$ref" : "#/definitions/v1OidcIdpConfig"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1IdpID" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
}
}
} ,
"v1IdpProvider" : {
"type" : "object" ,
"properties" : {
"idp_config_id" : {
"type" : "string"
} ,
"idp_provider_Type" : {
"$ref" : "#/definitions/v1IdpProviderType"
}
}
} ,
"v1IdpProviderAdd" : {
"type" : "object" ,
"properties" : {
"idp_config_id" : {
"type" : "string"
} ,
"idp_provider_type" : {
"$ref" : "#/definitions/v1IdpProviderType"
}
}
} ,
"v1IdpProviderSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1IdpProviderSearchResponse" : {
"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/v1IdpProviderView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1IdpProviderType" : {
"type" : "string" ,
"enum" : [
"IDPPROVIDERTYPE_UNSPECIFIED" ,
"IDPPROVIDERTYPE_SYSTEM" ,
"IDPPROVIDERTYPE_ORG"
] ,
"default" : "IDPPROVIDERTYPE_UNSPECIFIED"
} ,
"v1IdpProviderView" : {
"type" : "object" ,
"properties" : {
"idp_config_id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"type" : {
"$ref" : "#/definitions/v1IdpType"
}
}
} ,
"v1IdpSearchKey" : {
"type" : "string" ,
"enum" : [
"IDPSEARCHKEY_UNSPECIFIED" ,
"IDPSEARCHKEY_IDP_CONFIG_ID" ,
"IDPSEARCHKEY_NAME" ,
"IDPSEARCHKEY_PROVIDER_TYPE"
] ,
"default" : "IDPSEARCHKEY_UNSPECIFIED"
} ,
"v1IdpSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1IdpSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1IdpSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1IdpSearchQuery"
}
}
}
} ,
"v1IdpSearchResponse" : {
"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/v1IdpView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1IdpState" : {
"type" : "string" ,
"enum" : [
"IDPCONFIGSTATE_UNSPECIFIED" ,
"IDPCONFIGSTATE_ACTIVE" ,
"IDPCONFIGSTATE_INACTIVE"
] ,
"default" : "IDPCONFIGSTATE_UNSPECIFIED"
} ,
"v1IdpStylingType" : {
"type" : "string" ,
"enum" : [
"IDPSTYLINGTYPE_UNSPECIFIED" ,
"IDPSTYLINGTYPE_GOOGLE"
] ,
"default" : "IDPSTYLINGTYPE_UNSPECIFIED"
} ,
"v1IdpType" : {
"type" : "string" ,
"enum" : [
"IDPTYPE_UNSPECIFIED" ,
"IDPTYPE_OIDC" ,
"IDPTYPE_SAML"
] ,
"default" : "IDPTYPE_UNSPECIFIED"
} ,
"v1IdpUpdate" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"styling_type" : {
"$ref" : "#/definitions/v1IdpStylingType"
}
}
} ,
"v1IdpView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1IdpState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"styling_type" : {
"$ref" : "#/definitions/v1IdpStylingType"
} ,
"provider_type" : {
"$ref" : "#/definitions/v1IdpProviderType"
} ,
"oidc_config" : {
"$ref" : "#/definitions/v1OidcIdpConfigView"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1LocalizedMessage" : {
"type" : "object" ,
"properties" : {
"key" : {
"type" : "string"
} ,
"localized_message" : {
"type" : "string"
}
}
} ,
"v1LoginPolicy" : {
"type" : "object" ,
"properties" : {
"allow_username_password" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_register" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_external_idp" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-11-04 10:26:10 +00:00
} ,
"force_mfa" : {
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1LoginPolicyRequest" : {
"type" : "object" ,
"properties" : {
"allow_username_password" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_register" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_external_idp" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-11-04 10:26:10 +00:00
} ,
"force_mfa" : {
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1LoginPolicyView" : {
"type" : "object" ,
"properties" : {
"default" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_username_password" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_register" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"allow_external_idp" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-11-04 10:26:10 +00:00
} ,
"force_mfa" : {
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1MFAState" : {
"type" : "string" ,
"enum" : [
"MFASTATE_UNSPECIFIED" ,
"MFASTATE_NOT_READY" ,
"MFASTATE_READY" ,
"MFASTATE_REMOVED"
] ,
"default" : "MFASTATE_UNSPECIFIED"
} ,
"v1MachineKeySearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"asc" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"user_id" : {
"type" : "string"
}
}
} ,
"v1MachineKeySearchResponse" : {
"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/v1MachineKeyView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1MachineKeyType" : {
"type" : "string" ,
"enum" : [
"MACHINEKEY_UNSPECIFIED" ,
"MACHINEKEY_JSON"
] ,
"default" : "MACHINEKEY_UNSPECIFIED"
} ,
"v1MachineKeyView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"type" : {
"$ref" : "#/definitions/v1MachineKeyType"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"expiration_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1MachineResponse" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
}
}
} ,
"v1MachineView" : {
"type" : "object" ,
"properties" : {
"last_key_added" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
}
}
} ,
"v1MemberType" : {
"type" : "string" ,
"enum" : [
"MEMBERTYPE_UNSPECIFIED" ,
"MEMBERTYPE_ORGANISATION" ,
"MEMBERTYPE_PROJECT" ,
"MEMBERTYPE_PROJECT_GRANT"
] ,
"default" : "MEMBERTYPE_UNSPECIFIED"
} ,
"v1MfaType" : {
"type" : "string" ,
"enum" : [
"MFATYPE_UNSPECIFIED" ,
"MFATYPE_SMS" ,
"MFATYPE_OTP"
] ,
"default" : "MFATYPE_UNSPECIFIED"
} ,
"v1MultiFactor" : {
"type" : "object" ,
"properties" : {
2020-11-04 10:26:10 +00:00
"multi_factor" : {
"$ref" : "#/definitions/v1MultiFactorType"
2020-10-21 08:00:49 +00:00
}
}
} ,
2020-11-04 10:26:10 +00:00
"v1MultiFactorType" : {
"type" : "string" ,
"enum" : [
"MULTIFACTORTYPE_UNSPECIFIED" ,
"MULTIFACTORTYPE_U2F_WITH_PIN"
] ,
"default" : "MULTIFACTORTYPE_UNSPECIFIED"
} ,
"v1MultiFactorsResult" : {
2020-10-21 08:00:49 +00:00
"type" : "object" ,
"properties" : {
2020-11-04 10:26:10 +00:00
"multi_factors" : {
2020-10-21 08:00:49 +00:00
"type" : "array" ,
"items" : {
2020-11-04 10:26:10 +00:00
"$ref" : "#/definitions/v1MultiFactorType"
2020-10-21 08:00:49 +00:00
}
}
}
} ,
"v1NotificationType" : {
"type" : "string" ,
"enum" : [
"NOTIFICATIONTYPE_EMAIL" ,
"NOTIFICATIONTYPE_SMS"
] ,
"default" : "NOTIFICATIONTYPE_EMAIL"
} ,
"v1OIDCApplicationCreate" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"response_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCResponseType"
}
} ,
"grant_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCGrantType"
}
} ,
"application_type" : {
"$ref" : "#/definitions/v1OIDCApplicationType"
} ,
"auth_method_type" : {
"$ref" : "#/definitions/v1OIDCAuthMethodType"
} ,
"post_logout_redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"version" : {
"$ref" : "#/definitions/v1OIDCVersion"
} ,
"dev_mode" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"access_token_type" : {
"$ref" : "#/definitions/v1OIDCTokenType"
} ,
"access_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"id_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1OIDCApplicationType" : {
"type" : "string" ,
"enum" : [
"OIDCAPPLICATIONTYPE_WEB" ,
"OIDCAPPLICATIONTYPE_USER_AGENT" ,
"OIDCAPPLICATIONTYPE_NATIVE"
] ,
"default" : "OIDCAPPLICATIONTYPE_WEB"
} ,
"v1OIDCAuthMethodType" : {
"type" : "string" ,
"enum" : [
"OIDCAUTHMETHODTYPE_BASIC" ,
"OIDCAUTHMETHODTYPE_POST" ,
"OIDCAUTHMETHODTYPE_NONE"
] ,
"default" : "OIDCAUTHMETHODTYPE_BASIC"
} ,
"v1OIDCConfig" : {
"type" : "object" ,
"properties" : {
"redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"response_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCResponseType"
}
} ,
"grant_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCGrantType"
}
} ,
"application_type" : {
"$ref" : "#/definitions/v1OIDCApplicationType"
} ,
"client_id" : {
"type" : "string"
} ,
"client_secret" : {
"type" : "string"
} ,
"auth_method_type" : {
"$ref" : "#/definitions/v1OIDCAuthMethodType"
} ,
"post_logout_redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"version" : {
"$ref" : "#/definitions/v1OIDCVersion"
} ,
"none_compliant" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"compliance_problems" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1LocalizedMessage"
}
} ,
"dev_mode" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"access_token_type" : {
"$ref" : "#/definitions/v1OIDCTokenType"
} ,
"access_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"id_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1OIDCConfigUpdate" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"application_id" : {
"type" : "string"
} ,
"redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"response_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCResponseType"
}
} ,
"grant_types" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OIDCGrantType"
}
} ,
"application_type" : {
"$ref" : "#/definitions/v1OIDCApplicationType"
} ,
"auth_method_type" : {
"$ref" : "#/definitions/v1OIDCAuthMethodType"
} ,
"post_logout_redirect_uris" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"dev_mode" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"access_token_type" : {
"$ref" : "#/definitions/v1OIDCTokenType"
} ,
"access_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"id_token_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1OIDCGrantType" : {
"type" : "string" ,
"enum" : [
"OIDCGRANTTYPE_AUTHORIZATION_CODE" ,
"OIDCGRANTTYPE_IMPLICIT" ,
"OIDCGRANTTYPE_REFRESH_TOKEN"
] ,
"default" : "OIDCGRANTTYPE_AUTHORIZATION_CODE"
} ,
"v1OIDCMappingField" : {
"type" : "string" ,
"enum" : [
"OIDCMAPPINGFIELD_UNSPECIFIED" ,
"OIDCMAPPINGFIELD_PREFERRED_USERNAME" ,
"OIDCMAPPINGFIELD_EMAIL"
] ,
"default" : "OIDCMAPPINGFIELD_UNSPECIFIED"
} ,
"v1OIDCResponseType" : {
"type" : "string" ,
"enum" : [
"OIDCRESPONSETYPE_CODE" ,
"OIDCRESPONSETYPE_ID_TOKEN" ,
"OIDCRESPONSETYPE_ID_TOKEN_TOKEN"
] ,
"default" : "OIDCRESPONSETYPE_CODE"
} ,
"v1OIDCTokenType" : {
"type" : "string" ,
"enum" : [
"OIDCTokenType_Bearer" ,
"OIDCTokenType_JWT"
] ,
"default" : "OIDCTokenType_Bearer"
} ,
"v1OIDCVersion" : {
"type" : "string" ,
"enum" : [
"OIDCV1_0"
] ,
"default" : "OIDCV1_0"
} ,
"v1OidcIdpConfig" : {
"type" : "object" ,
"properties" : {
"client_id" : {
"type" : "string"
} ,
"client_secret" : {
"type" : "string"
} ,
"issuer" : {
"type" : "string"
} ,
"scopes" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"idp_display_name_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
} ,
"username_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
}
}
} ,
"v1OidcIdpConfigCreate" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"styling_type" : {
"$ref" : "#/definitions/v1IdpStylingType"
} ,
"client_id" : {
"type" : "string"
} ,
"client_secret" : {
"type" : "string"
} ,
"issuer" : {
"type" : "string"
} ,
"scopes" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"idp_display_name_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
} ,
"username_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
}
}
} ,
"v1OidcIdpConfigUpdate" : {
"type" : "object" ,
"properties" : {
"idp_id" : {
"type" : "string"
} ,
"client_id" : {
"type" : "string"
} ,
"client_secret" : {
"type" : "string"
} ,
"issuer" : {
"type" : "string"
} ,
"scopes" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"idp_display_name_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
} ,
"username_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
}
}
} ,
"v1OidcIdpConfigView" : {
"type" : "object" ,
"properties" : {
"client_id" : {
"type" : "string"
} ,
"issuer" : {
"type" : "string"
} ,
"scopes" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"idp_display_name_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
} ,
"username_mapping" : {
"$ref" : "#/definitions/v1OIDCMappingField"
}
}
} ,
"v1Org" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1OrgState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1OrgCreateRequest" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
}
}
} ,
"v1OrgDomain" : {
"type" : "object" ,
"properties" : {
"org_id" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"domain" : {
"type" : "string"
} ,
"verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"primary" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1OrgDomainSearchKey" : {
"type" : "string" ,
"enum" : [
"ORGDOMAINSEARCHKEY_UNSPECIFIED" ,
"ORGDOMAINSEARCHKEY_DOMAIN"
] ,
"default" : "ORGDOMAINSEARCHKEY_UNSPECIFIED"
} ,
"v1OrgDomainSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1OrgDomainSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1OrgDomainSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OrgDomainSearchQuery"
}
}
}
} ,
"v1OrgDomainSearchResponse" : {
"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/v1OrgDomainView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1OrgDomainValidationRequest" : {
"type" : "object" ,
"properties" : {
"domain" : {
"type" : "string"
} ,
"type" : {
"$ref" : "#/definitions/v1OrgDomainValidationType"
}
}
} ,
"v1OrgDomainValidationResponse" : {
"type" : "object" ,
"properties" : {
"token" : {
"type" : "string"
} ,
"url" : {
"type" : "string"
}
}
} ,
"v1OrgDomainValidationType" : {
"type" : "string" ,
"enum" : [
"ORGDOMAINVALIDATIONTYPE_UNSPECIFIED" ,
"ORGDOMAINVALIDATIONTYPE_HTTP" ,
"ORGDOMAINVALIDATIONTYPE_DNS"
] ,
"default" : "ORGDOMAINVALIDATIONTYPE_UNSPECIFIED"
} ,
"v1OrgDomainView" : {
"type" : "object" ,
"properties" : {
"org_id" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"domain" : {
"type" : "string"
} ,
"verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"primary" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"validation_type" : {
"$ref" : "#/definitions/v1OrgDomainValidationType"
}
}
} ,
"v1OrgIamPolicyView" : {
"type" : "object" ,
"properties" : {
"user_login_must_be_domain" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"default" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1OrgMember" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1OrgMemberRoles" : {
"type" : "object" ,
"properties" : {
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1OrgMemberSearchKey" : {
"type" : "string" ,
"enum" : [
"ORGMEMBERSEARCHKEY_UNSPECIFIED" ,
"ORGMEMBERSEARCHKEY_FIRST_NAME" ,
"ORGMEMBERSEARCHKEY_LAST_NAME" ,
"ORGMEMBERSEARCHKEY_EMAIL" ,
"ORGMEMBERSEARCHKEY_USER_ID"
] ,
"default" : "ORGMEMBERSEARCHKEY_UNSPECIFIED"
} ,
"v1OrgMemberSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1OrgMemberSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1OrgMemberSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1OrgMemberSearchQuery"
}
}
}
} ,
"v1OrgMemberSearchResponse" : {
"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/v1OrgMemberView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1OrgMemberView" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"user_name" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
}
}
} ,
"v1OrgState" : {
"type" : "string" ,
"enum" : [
"ORGSTATE_UNSPECIFIED" ,
"ORGSTATE_ACTIVE" ,
"ORGSTATE_INACTIVE"
] ,
"default" : "ORGSTATE_UNSPECIFIED"
} ,
"v1OrgView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1OrgState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1PasswordAgePolicy" : {
"type" : "object" ,
"properties" : {
"max_age_days" : {
"type" : "string" ,
"format" : "uint64"
} ,
"expire_warn_days" : {
"type" : "string" ,
"format" : "uint64"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordAgePolicyRequest" : {
"type" : "object" ,
"properties" : {
"max_age_days" : {
"type" : "string" ,
"format" : "uint64"
} ,
"expire_warn_days" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1PasswordAgePolicyView" : {
"type" : "object" ,
"properties" : {
"default" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"max_age_days" : {
"type" : "string" ,
"format" : "uint64"
} ,
"expire_warn_days" : {
"type" : "string" ,
"format" : "uint64"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordComplexityPolicy" : {
"type" : "object" ,
"properties" : {
"min_length" : {
"type" : "string" ,
"format" : "uint64"
} ,
"has_lowercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_uppercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_number" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_symbol" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordComplexityPolicyRequest" : {
"type" : "object" ,
"properties" : {
"min_length" : {
"type" : "string" ,
"format" : "uint64"
} ,
"has_lowercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_uppercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_number" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_symbol" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1PasswordComplexityPolicyView" : {
"type" : "object" ,
"properties" : {
"default" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"min_length" : {
"type" : "string" ,
"format" : "uint64"
} ,
"has_lowercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_uppercase" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_number" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"has_symbol" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordLockoutPolicy" : {
"type" : "object" ,
"properties" : {
"max_attempts" : {
"type" : "string" ,
"format" : "uint64"
} ,
"show_lockout_failure" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordLockoutPolicyRequest" : {
"type" : "object" ,
"properties" : {
"max_attempts" : {
"type" : "string" ,
"format" : "uint64"
} ,
"show_lockout_failure" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1PasswordLockoutPolicyView" : {
"type" : "object" ,
"properties" : {
"default" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"max_attempts" : {
"type" : "string" ,
"format" : "uint64"
} ,
"show_lockout_failure" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1PasswordRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"password" : {
"type" : "string"
}
}
} ,
"v1Project" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1ProjectState"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"project_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"project_role_check" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1ProjectCreateRequest" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"project_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"project_role_check" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1ProjectGrant" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
} ,
"granted_org_id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"state" : {
"$ref" : "#/definitions/v1ProjectGrantState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ProjectGrantCreate" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"granted_org_id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectGrantID" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"id" : {
"type" : "string"
}
}
} ,
"v1ProjectGrantMember" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ProjectGrantMemberAdd" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"grant_id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectGrantMemberChange" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"grant_id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectGrantMemberRoles" : {
"type" : "object" ,
"properties" : {
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectGrantMemberSearchKey" : {
"type" : "string" ,
"enum" : [
"PROJECTGRANTMEMBERSEARCHKEY_UNSPECIFIED" ,
"PROJECTGRANTMEMBERSEARCHKEY_FIRST_NAME" ,
"PROJECTGRANTMEMBERSEARCHKEY_LAST_NAME" ,
"PROJECTGRANTMEMBERSEARCHKEY_EMAIL" ,
"PROJECTGRANTMEMBERSEARCHKEY_USER_ID" ,
"PROJECTGRANTMEMBERSEARCHKEY_USER_NAME"
] ,
"default" : "PROJECTGRANTMEMBERSEARCHKEY_UNSPECIFIED"
} ,
"v1ProjectGrantMemberSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ProjectGrantMemberSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ProjectGrantMemberSearchRequest" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"grant_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectGrantMemberSearchQuery"
}
}
}
} ,
"v1ProjectGrantMemberSearchResponse" : {
"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/v1ProjectGrantMemberView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ProjectGrantMemberView" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"user_name" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"display_name" : {
"type" : "string"
}
}
} ,
"v1ProjectGrantSearchKey" : {
"type" : "string" ,
"enum" : [
"PROJECTGRANTSEARCHKEY_UNSPECIFIED" ,
"PROJECTGRANTSEARCHKEY_PROJECT_NAME" ,
"PROJECTGRANTSEARCHKEY_ROLE_KEY"
] ,
"default" : "PROJECTGRANTSEARCHKEY_UNSPECIFIED"
} ,
"v1ProjectGrantSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ProjectGrantSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ProjectGrantSearchRequest" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectGrantSearchQuery"
}
}
}
} ,
"v1ProjectGrantSearchResponse" : {
"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/v1ProjectGrantView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ProjectGrantState" : {
"type" : "string" ,
"enum" : [
"PROJECTGRANTSTATE_UNSPECIFIED" ,
"PROJECTGRANTSTATE_ACTIVE" ,
"PROJECTGRANTSTATE_INACTIVE"
] ,
"default" : "PROJECTGRANTSTATE_UNSPECIFIED"
} ,
"v1ProjectGrantUpdate" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectGrantView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
} ,
"granted_org_id" : {
"type" : "string"
} ,
"granted_org_name" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"state" : {
"$ref" : "#/definitions/v1ProjectGrantState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"project_name" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"resource_owner" : {
"type" : "string"
} ,
"resource_owner_name" : {
"type" : "string"
}
}
} ,
"v1ProjectID" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
}
}
} ,
"v1ProjectMember" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ProjectMemberAdd" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectMemberChange" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectMemberRoles" : {
"type" : "object" ,
"properties" : {
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1ProjectMemberSearchKey" : {
"type" : "string" ,
"enum" : [
"PROJECTMEMBERSEARCHKEY_UNSPECIFIED" ,
"PROJECTMEMBERSEARCHKEY_FIRST_NAME" ,
"PROJECTMEMBERSEARCHKEY_LAST_NAME" ,
"PROJECTMEMBERSEARCHKEY_EMAIL" ,
"PROJECTMEMBERSEARCHKEY_USER_ID" ,
"PROJECTMEMBERSEARCHKEY_USER_NAME"
] ,
"default" : "PROJECTMEMBERSEARCHKEY_UNSPECIFIED"
} ,
"v1ProjectMemberSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ProjectMemberSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ProjectMemberSearchRequest" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectMemberSearchQuery"
}
}
}
} ,
"v1ProjectMemberSearchResponse" : {
"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/v1ProjectMemberView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ProjectMemberView" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"user_name" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"display_name" : {
"type" : "string"
}
}
} ,
"v1ProjectRole" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"key" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"group" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ProjectRoleAdd" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"key" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"group" : {
"type" : "string"
}
}
} ,
"v1ProjectRoleAddBulk" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"project_roles" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectRoleAdd"
}
}
}
} ,
"v1ProjectRoleChange" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"key" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"group" : {
"type" : "string"
}
}
} ,
"v1ProjectRoleSearchKey" : {
"type" : "string" ,
"enum" : [
"PROJECTROLESEARCHKEY_UNSPECIFIED" ,
"PROJECTROLESEARCHKEY_KEY" ,
"PROJECTROLESEARCHKEY_DISPLAY_NAME"
] ,
"default" : "PROJECTROLESEARCHKEY_UNSPECIFIED"
} ,
"v1ProjectRoleSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ProjectRoleSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ProjectRoleSearchRequest" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectRoleSearchQuery"
}
}
}
} ,
"v1ProjectRoleSearchResponse" : {
"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/v1ProjectRoleView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ProjectRoleView" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"key" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"group" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
}
}
} ,
"v1ProjectSearchKey" : {
"type" : "string" ,
"enum" : [
"PROJECTSEARCHKEY_UNSPECIFIED" ,
"PROJECTSEARCHKEY_PROJECT_NAME"
] ,
"default" : "PROJECTSEARCHKEY_UNSPECIFIED"
} ,
"v1ProjectSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1ProjectSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1ProjectSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1ProjectSearchQuery"
}
}
}
} ,
"v1ProjectSearchResponse" : {
"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/v1ProjectView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1ProjectState" : {
"type" : "string" ,
"enum" : [
"PROJECTSTATE_UNSPECIFIED" ,
"PROJECTSTATE_ACTIVE" ,
"PROJECTSTATE_INACTIVE"
] ,
"default" : "PROJECTSTATE_UNSPECIFIED"
} ,
"v1ProjectUpdateRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"project_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"project_role_check" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1ProjectView" : {
"type" : "object" ,
"properties" : {
"project_id" : {
"type" : "string"
} ,
"name" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1ProjectState"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"resource_owner" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"project_role_assertion" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"project_role_check" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1SearchMethod" : {
"type" : "string" ,
"enum" : [
"SEARCHMETHOD_EQUALS" ,
"SEARCHMETHOD_STARTS_WITH" ,
"SEARCHMETHOD_CONTAINS" ,
"SEARCHMETHOD_EQUALS_IGNORE_CASE" ,
"SEARCHMETHOD_STARTS_WITH_IGNORE_CASE" ,
"SEARCHMETHOD_CONTAINS_IGNORE_CASE" ,
"SEARCHMETHOD_NOT_EQUALS" ,
"SEARCHMETHOD_GREATER_THAN" ,
"SEARCHMETHOD_LESS_THAN" ,
"SEARCHMETHOD_IS_ONE_OF" ,
"SEARCHMETHOD_LIST_CONTAINS"
] ,
"default" : "SEARCHMETHOD_EQUALS"
} ,
2020-11-04 10:26:10 +00:00
"v1SecondFactor" : {
"type" : "object" ,
"properties" : {
"second_factor" : {
"$ref" : "#/definitions/v1SecondFactorType"
}
}
} ,
"v1SecondFactorType" : {
"type" : "string" ,
"enum" : [
"SECONDFACTORTYPE_UNSPECIFIED" ,
"SECONDFACTORTYPE_OTP" ,
"SECONDFACTORTYPE_U2F"
] ,
"default" : "SECONDFACTORTYPE_UNSPECIFIED"
} ,
"v1SecondFactorsResult" : {
"type" : "object" ,
"properties" : {
"second_factors" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1SecondFactorType"
}
}
}
} ,
2020-10-21 08:00:49 +00:00
"v1SetPasswordNotificationRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"type" : {
"$ref" : "#/definitions/v1NotificationType"
}
}
} ,
"v1UniqueUserResponse" : {
"type" : "object" ,
"properties" : {
"is_unique" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1UpdateMachineRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
}
}
} ,
"v1UpdateUserAddressRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
}
}
} ,
"v1UpdateUserEmailRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1UpdateUserPhoneRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
}
}
} ,
"v1UpdateUserProfileRequest" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
}
}
} ,
"v1UserAddress" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserAddressView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserEmail" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserEmailView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserGrant" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"org_id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"state" : {
"$ref" : "#/definitions/v1UserGrantState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"grant_id" : {
"type" : "string"
}
}
} ,
"v1UserGrantCreate" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"grant_id" : {
"type" : "string"
}
}
} ,
"v1UserGrantID" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"id" : {
"type" : "string"
}
}
} ,
"v1UserGrantRemoveBulk" : {
"type" : "object" ,
"properties" : {
"ids" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1UserGrantSearchKey" : {
"type" : "string" ,
"enum" : [
"USERGRANTSEARCHKEY_UNSPECIFIED" ,
"USERGRANTSEARCHKEY_PROJECT_ID" ,
"USERGRANTSEARCHKEY_USER_ID" ,
"USERGRANTSEARCHKEY_ORG_ID" ,
"USERGRANTSEARCHKEY_ROLE_KEY" ,
2020-11-03 09:50:03 +00:00
"USERGRANTSEARCHKEY_GRANT_ID" ,
"USERGRANTSEARCHKEY_USER_NAME" ,
"USERGRANTSEARCHKEY_FIRST_NAME" ,
"USERGRANTSEARCHKEY_LAST_NAME" ,
"USERGRANTSEARCHKEY_EMAIL" ,
"USERGRANTSEARCHKEY_ORG_NAME" ,
"USERGRANTSEARCHKEY_ORG_DOMAIN" ,
"USERGRANTSEARCHKEY_PROJECT_NAME" ,
"USERGRANTSEARCHKEY_DISPLAY_NAME"
2020-10-21 08:00:49 +00:00
] ,
"default" : "USERGRANTSEARCHKEY_UNSPECIFIED"
} ,
"v1UserGrantSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1UserGrantSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1UserGrantSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserGrantSearchQuery"
}
}
}
} ,
"v1UserGrantSearchResponse" : {
"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/v1UserGrantView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserGrantState" : {
"type" : "string" ,
"enum" : [
"USERGRANTSTATE_UNSPECIFIED" ,
"USERGRANTSTATE_ACTIVE" ,
"USERGRANTSTATE_INACTIVE"
] ,
"default" : "USERGRANTSTATE_UNSPECIFIED"
} ,
"v1UserGrantUpdate" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
}
}
} ,
"v1UserGrantView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"user_id" : {
"type" : "string"
} ,
"org_id" : {
"type" : "string"
} ,
"project_id" : {
"type" : "string"
} ,
"role_keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"state" : {
"$ref" : "#/definitions/v1UserGrantState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"user_name" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"org_name" : {
"type" : "string"
} ,
"org_domain" : {
"type" : "string"
} ,
"project_name" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"resource_owner" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"grant_id" : {
"type" : "string"
}
}
} ,
"v1UserID" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
}
}
} ,
"v1UserMembershipSearchKey" : {
"type" : "string" ,
"enum" : [
"USERMEMBERSHIPSEARCHKEY_UNSPECIFIED" ,
"USERMEMBERSHIPSEARCHKEY_TYPE" ,
"USERMEMBERSHIPSEARCHKEY_OBJECT_ID"
] ,
"default" : "USERMEMBERSHIPSEARCHKEY_UNSPECIFIED"
} ,
"v1UserMembershipSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1UserMembershipSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1UserMembershipSearchRequest" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserMembershipSearchQuery"
}
}
}
} ,
"v1UserMembershipSearchResponse" : {
"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/v1UserMembershipView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserMembershipView" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"member_type" : {
"$ref" : "#/definitions/v1MemberType"
} ,
"aggregate_id" : {
"type" : "string"
} ,
"object_id" : {
"type" : "string"
} ,
"roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"display_name" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"resource_owner" : {
"type" : "string"
}
}
} ,
2020-11-04 10:26:10 +00:00
"v1UserMultiFactor" : {
"type" : "object" ,
"properties" : {
"type" : {
"$ref" : "#/definitions/v1MfaType"
} ,
"state" : {
"$ref" : "#/definitions/v1MFAState"
}
}
} ,
"v1UserMultiFactors" : {
"type" : "object" ,
"properties" : {
"mfas" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserMultiFactor"
}
}
}
} ,
2020-10-21 08:00:49 +00:00
"v1UserPhone" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserPhoneView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserProfile" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserProfileView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"login_names" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"preferred_login_name" : {
"type" : "string"
}
}
} ,
"v1UserResponse" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1UserState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"user_name" : {
"type" : "string"
} ,
"human" : {
"$ref" : "#/definitions/v1HumanResponse"
} ,
"machine" : {
"$ref" : "#/definitions/v1MachineResponse"
}
}
} ,
"v1UserSearchKey" : {
"type" : "string" ,
"enum" : [
"USERSEARCHKEY_UNSPECIFIED" ,
"USERSEARCHKEY_USER_NAME" ,
"USERSEARCHKEY_FIRST_NAME" ,
"USERSEARCHKEY_LAST_NAME" ,
"USERSEARCHKEY_NICK_NAME" ,
"USERSEARCHKEY_DISPLAY_NAME" ,
"USERSEARCHKEY_EMAIL" ,
"USERSEARCHKEY_STATE" ,
"USERSEARCHKEY_TYPE"
] ,
"default" : "USERSEARCHKEY_UNSPECIFIED"
} ,
"v1UserSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1UserSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1UserSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"sorting_column" : {
"$ref" : "#/definitions/v1UserSearchKey"
} ,
"asc" : {
2020-11-03 09:50:03 +00:00
"type" : "boolean" ,
"format" : "boolean"
2020-10-21 08:00:49 +00:00
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserSearchQuery"
}
}
}
} ,
"v1UserSearchResponse" : {
"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/v1UserView"
}
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
"v1UserState" : {
"type" : "string" ,
"enum" : [
"USERSTATE_UNSPECIFIED" ,
"USERSTATE_ACTIVE" ,
"USERSTATE_INACTIVE" ,
"USERSTATE_DELETED" ,
"USERSTATE_LOCKED" ,
"USERSTATE_SUSPEND" ,
"USERSTATE_INITIAL"
] ,
"default" : "USERSTATE_UNSPECIFIED"
} ,
"v1UserView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1UserState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"login_names" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"preferred_login_name" : {
"type" : "string"
} ,
"last_login" : {
"type" : "string" ,
"format" : "date-time"
} ,
"resource_owner" : {
"type" : "string"
} ,
"user_name" : {
"type" : "string"
} ,
"human" : {
"$ref" : "#/definitions/v1HumanView"
} ,
"machine" : {
"$ref" : "#/definitions/v1MachineView"
}
}
} ,
"v1ValidateOrgDomainRequest" : {
"type" : "object" ,
"properties" : {
"domain" : {
"type" : "string"
}
}
} ,
"v1ZitadelDocs" : {
"type" : "object" ,
"properties" : {
"issuer" : {
"type" : "string"
} ,
"discovery_endpoint" : {
"type" : "string"
}
}
}
}
}