Update an api key for a specified service descriptor with a diff
643 matches
87 actions
Otoroshi Admin
87 actions
- Add a target to a service descriptorPOSTv1.0.0
- Compile a scriptPOSTv1.0.0
- Create a new api key for a groupPOSTv1.0.0
- Create a new api key for a servicePOSTv1.0.0
- Create a new scriptPOSTv1.0.0
- Create a new service descriptorPOSTv1.0.0
- Create a new service groupPOSTv1.0.0
- Create a service descriptor error templatePOSTv1.0.0
- Create one certificatePOSTv1.0.0
- Create one global auth. module configPOSTv1.0.0
- Create one global JWT verifiersPOSTv1.0.0
- Create one validation authoritiesPOSTv1.0.0
- Delete a scriptDELETEv1.0.0
- Delete a service descriptorDELETEv1.0.0
- Delete a service descriptor error templateDELETEv1.0.0
- Delete a service descriptor targetDELETEv1.0.0
- Delete a service groupDELETEv1.0.0
- Delete an api keyDELETEv1.0.0
- Delete an api keyDELETEv1.0.0
- Delete one certificate by idDELETEv1.0.0
- Delete one global auth. module configDELETEv1.0.0
- Delete one global JWT verifiersDELETEv1.0.0
- Delete one validation authorities by idDELETEv1.0.0
- Get a scriptGETv1.0.0
- Get a service descriptorGETv1.0.0
- Get a service descriptor error templateGETv1.0.0
- Get a service descriptor targetsGETv1.0.0
- Get a service groupGETv1.0.0
- Get a template of an Otoroshi Api KeyGETv1.0.0
- Get a template of an Otoroshi service descriptorGETv1.0.0
- Get a template of an Otoroshi service groupGETv1.0.0
- Get all api keysGETv1.0.0
- Get all api keys for the group of a serviceGETv1.0.0
- Get all api keys for the group of a serviceGETv1.0.0
- Get all certificatesGETv1.0.0
- Get all current Snow Monkey ouragesGETv1.0.0
- Get all environmentsGETv1.0.0
- Get all global auth. module configsGETv1.0.0
- Get all global JWT verifiersGETv1.0.0
- Get all scriptsGETv1.0.0
- Get all service groupsGETv1.0.0
- Get all servicesGETv1.0.0
- Get all services descriptor for a groupGETv1.0.0
- Get all services for an environmentGETv1.0.0
- Get all validation authoritiessGETv1.0.0
- Get an api keyGETv1.0.0
- Get an api keyGETv1.0.0
- Get current Snow Monkey configGETv1.0.0
- Get global otoroshi statsGETv1.0.0
- Get live feed of otoroshi statsGETv1.0.0
- Get one certificate by idGETv1.0.0
- Get one global auth. module configsGETv1.0.0
- Get one global JWT verifiersGETv1.0.0
- Get one validation authorities by idGETv1.0.0
- Get the full configuration of OtoroshiGETv1.0.0
- Get the group of an api keyGETv1.0.0
- Get the quota state of an api keyGETv1.0.0
- Get the quota state of an api keyGETv1.0.0
- Reset Snow Monkey Outages for the dayDELETEv1.0.0
- Reset the quota state of an api keyDELETEv1.0.0
- Reset the quota state of an api keyDELETEv1.0.0
- Start the Snow MonkeyPOSTv1.0.0
- Stop the Snow MonkeyPOSTv1.0.0
- Update a scriptPUTv1.0.0
- Update a script with a diffPATCHv1.0.0
- Update a service descriptorPUTv1.0.0
- Update a service descriptor targetsPATCHv1.0.0
- Update a service descriptor with a diffPATCHv1.0.0
- Update a service groupPUTv1.0.0
- Update a service group with a diffPATCHv1.0.0
- Update an api keyPUTv1.0.0
- Update an api keyPUTv1.0.0
- Update an api key with a diffPATCHv1.0.0
- Update an api key with a diffPATCHv1.0.0
- Update an error template to a service descriptorPUTv1.0.0
- Update current Snow Monkey configPATCHv1.0.0
- Update current Snow Monkey configPUTv1.0.0
- Update one certificate by idPATCHv1.0.0
- Update one certificate by idPUTv1.0.0
- Update one global auth. module configPATCHv1.0.0
- Update one global auth. module configPUTv1.0.0
- Update one global JWT verifiersPATCHv1.0.0
- Update one global JWT verifiersPUTv1.0.0
- Update one validation authorities by idPATCHv1.0.0
- Update one validation authorities by idPUTv1.0.0
- Update the global configurationPUTv1.0.0
- Update the global configuration with a diffPATCHv1.0.0
Other/Otoroshi Admin
Update an api key with a diff
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
{
"type": "object",
"properties": {
"clientId": {
"type": "string"
},
"groupId": {
"type": "string"
}
},
"required": [
"clientId",
"groupId"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
{
"type": "object",
"description": "An Otoroshi Api Key. An Api Key is defined for a group of services to allow usage of the same Api Key for multiple services.",
"required": [
"authorizedEntities",
"clientId",
"clientName",
"clientSecret",
"enabled"
],
"properties": {
"authorizedEntities": {
"type": "array",
"description": "The group/service ids (prefixed by group_ or service_ on which the key is authorized",
"items": {
"type": "string"
}
},
"clientId": {
"type": "string",
"description": "The unique id of the Api Key. Usually 16 random alpha numerical characters, but can be anything"
},
"clientName": {
"type": "string",
"description": "The name of the api key, for humans ;-)"
},
"clientSecret": {
"type": "string",
"description": "The secret of the Api Key. Usually 64 random alpha numerical characters, but can be anything"
},
"dailyQuota": {
"type": "integer",
"format": "int64",
"description": "Authorized number of calls per day"
},
"enabled": {
"type": "boolean",
"description": "Whether or not the key is enabled. If disabled, resources won't be available to calls using this key"
},
"metadata": {
"type": "object",
"description": "Bunch of metadata for the key"
},
"monthlyQuota": {
"type": "integer",
"format": "int64",
"description": "Authorized number of calls per month"
},
"throttlingQuota": {
"type": "integer",
"format": "int64",
"description": "Authorized number of calls per second, measured on 10 seconds"
}
}
}