Skip to content

Commit 0c10659

Browse files
author
tse-developer
committed
Update spec file
1 parent 91482a7 commit 0c10659

File tree

1 file changed

+197
-0
lines changed

1 file changed

+197
-0
lines changed

api-spec/openapiSpecv3-2_0.json

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
],
1414
"description": "Roles for version 9.0.0.cl"
1515
},
16+
{
17+
"name": "9.7.0.cl",
18+
"id": "9.7.0.cl",
19+
"tags": [
20+
"9.7.0.cl"
21+
],
22+
"description": "Roles for version 9.7.0.cl"
23+
},
1624
{
1725
"name": "9.2.0.cl",
1826
"id": "9.2.0.cl",
@@ -4370,6 +4378,185 @@
43704378
}
43714379
}
43724380
},
4381+
"/api/rest/2.0/users/activate": {
4382+
"post": {
4383+
"operationId": "activateUser",
4384+
"description": " <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>",
4385+
"tags": [
4386+
"Users",
4387+
"9.7.0.cl"
4388+
],
4389+
"requestBody": {
4390+
"content": {
4391+
"application/json": {
4392+
"schema": {
4393+
"type": "object",
4394+
"properties": {
4395+
"user_identifier": {
4396+
"description": "Unique ID or name of the user.",
4397+
"type": "string"
4398+
},
4399+
"auth_token": {
4400+
"description": "Auth token for the user.",
4401+
"type": "string"
4402+
},
4403+
"password": {
4404+
"description": "New password for the user to access the account.",
4405+
"type": "string"
4406+
}
4407+
},
4408+
"required": [
4409+
"user_identifier",
4410+
"auth_token",
4411+
"password"
4412+
]
4413+
}
4414+
}
4415+
},
4416+
"required": true
4417+
},
4418+
"parameters": [],
4419+
"responses": {
4420+
"200": {
4421+
"description": "User activated successfully.",
4422+
"content": {
4423+
"application/json": {
4424+
"schema": {
4425+
"$ref": "#/components/schemas/User"
4426+
}
4427+
}
4428+
}
4429+
},
4430+
"400": {
4431+
"description": "Invalid request.",
4432+
"content": {
4433+
"application/json": {
4434+
"schema": {
4435+
"$ref": "#/components/schemas/ErrorResponse"
4436+
}
4437+
}
4438+
}
4439+
},
4440+
"401": {
4441+
"description": "Unauthorized access.",
4442+
"content": {
4443+
"application/json": {
4444+
"schema": {
4445+
"$ref": "#/components/schemas/ErrorResponse"
4446+
}
4447+
}
4448+
}
4449+
},
4450+
"403": {
4451+
"description": "Forbidden access.",
4452+
"content": {
4453+
"application/json": {
4454+
"schema": {
4455+
"$ref": "#/components/schemas/ErrorResponse"
4456+
}
4457+
}
4458+
}
4459+
},
4460+
"500": {
4461+
"description": "Unexpected error",
4462+
"content": {
4463+
"application/json": {
4464+
"schema": {
4465+
"$ref": "#/components/schemas/ErrorResponse"
4466+
}
4467+
}
4468+
}
4469+
}
4470+
}
4471+
}
4472+
},
4473+
"/api/rest/2.0/users/deactivate": {
4474+
"post": {
4475+
"operationId": "deactivateUser",
4476+
"description": " <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>",
4477+
"tags": [
4478+
"Users",
4479+
"9.7.0.cl"
4480+
],
4481+
"requestBody": {
4482+
"content": {
4483+
"application/json": {
4484+
"schema": {
4485+
"type": "object",
4486+
"properties": {
4487+
"user_identifier": {
4488+
"description": "Unique ID or name of the user.",
4489+
"type": "string"
4490+
},
4491+
"base_url": {
4492+
"description": "Base url of the cluster.",
4493+
"type": "string"
4494+
}
4495+
},
4496+
"required": [
4497+
"user_identifier",
4498+
"base_url"
4499+
]
4500+
}
4501+
}
4502+
},
4503+
"required": true
4504+
},
4505+
"parameters": [],
4506+
"responses": {
4507+
"200": {
4508+
"description": "User deactivated successfully.",
4509+
"content": {
4510+
"application/json": {
4511+
"schema": {
4512+
"$ref": "#/components/schemas/ResponseActivationURL"
4513+
}
4514+
}
4515+
}
4516+
},
4517+
"400": {
4518+
"description": "Invalid request.",
4519+
"content": {
4520+
"application/json": {
4521+
"schema": {
4522+
"$ref": "#/components/schemas/ErrorResponse"
4523+
}
4524+
}
4525+
}
4526+
},
4527+
"401": {
4528+
"description": "Unauthorized access.",
4529+
"content": {
4530+
"application/json": {
4531+
"schema": {
4532+
"$ref": "#/components/schemas/ErrorResponse"
4533+
}
4534+
}
4535+
}
4536+
},
4537+
"403": {
4538+
"description": "Forbidden access.",
4539+
"content": {
4540+
"application/json": {
4541+
"schema": {
4542+
"$ref": "#/components/schemas/ErrorResponse"
4543+
}
4544+
}
4545+
}
4546+
},
4547+
"500": {
4548+
"description": "Unexpected error",
4549+
"content": {
4550+
"application/json": {
4551+
"schema": {
4552+
"$ref": "#/components/schemas/ErrorResponse"
4553+
}
4554+
}
4555+
}
4556+
}
4557+
}
4558+
}
4559+
},
43734560
"/api/rest/2.0/system/config-update": {
43744561
"post": {
43754562
"operationId": "updateSystemConfig",
@@ -11286,6 +11473,16 @@
1128611473
}
1128711474
}
1128811475
},
11476+
"ResponseActivationURL": {
11477+
"type": "object",
11478+
"properties": {
11479+
"activation_link": {
11480+
"type": "string",
11481+
"description": "Activation link to activate the user."
11482+
}
11483+
},
11484+
"description": "The object representation with activation link."
11485+
},
1128911486
"TagMetadataTypeInput": {
1129011487
"type": "object",
1129111488
"required": [

0 commit comments

Comments
 (0)