Update S3 access key
Updates an access key's label, replaces its grant set, or pauses/resumes it.
AuthorizationBearer <token>
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
id?string
Format
uuidlabel?string
New label. Always applied.
Length
1 <= length <= 64grants?
Replacement grant set. Always applied in full (an empty list clears grants, making the key cover all the owner's buckets).
Items
items <= 100disabled?boolean
Pause (true) or resume (false) the key.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.S3CredentialsService/UpdateS3Credential" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"credential": {
"id": "string",
"accessKeyId": "string",
"label": "string",
"grants": [
{
"bucketId": 0,
"level": "BUCKET_PERMISSION_LEVEL_UNSPECIFIED"
}
],
"disabled": true,
"createdAt": "2023-01-15T01:30:15.01Z",
"lastUsedAt": "2023-01-15T01:30:15.01Z",
"ownerTeam": "string",
"ownerTeamSlug": "string",
"createdByUserId": "string"
}
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}