Credentials
Manage API credentials that grant access to your Stook Buckets and subfolders.
The unique identifier of the organization
The name of the credential
Indicates if the credential is read-only
UUID of the bucket
The subfolder within the bucket
Credential successfully created
POST /api/api/v2/stook/{organization_uuid}/credentials HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"name": "text",
"is_readonly": true,
"buckets": [
"text"
],
"subfolder": "text"
}
Credential successfully created
{
"status": true,
"data": {
"uuid": "text",
"name": "text",
"is_readonly": true,
"buckets": [
{
"uuid": "text",
"name": "text",
"region": "text",
"size": "text"
}
]
}
}
The unique identifier of the organization
Credentials retrieved successfully
GET /api/api/v2/stook/{organization_uuid}/credential HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Credentials retrieved successfully
{
"status": true,
"data": [
{
"uuid": "text",
"name": "text",
"is_readonly": true,
"access_key": "text",
"subfolder": "text",
"buckets": [
{
"uuid": "text",
"organization_uuid": "text",
"name": "text",
"region": "text",
"size": "text",
"tags": [
{
"key": "text",
"label": "text"
}
]
}
]
}
]
}
The UUID of the organization
The UUID of the credential
Credential details retrieved successfully
GET /api/api/v2/stook/{organization_uuid}/credential/{credential_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Credential details retrieved successfully
{
"status": true,
"data": {
"uuid": "text",
"name": "text",
"is_readonly": true,
"access_key": "text",
"subfolder": "text",
"buckets": [
{
"uuid": "text",
"organization_uuid": "text",
"name": "text",
"region": "text",
"size": "text",
"tags": [
{
"key": "text",
"label": "text"
}
]
}
]
}
}
The UUID of the organization
The UUID of the credential
Credential successfully deleted
DELETE /api/api/v2/stook/{organization_uuid}/credential/{credential_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Credential successfully deleted
{
"status": true,
"message": "text"
}
The unique identifier of the organization
The unique identifier of the credential
The name of the credential
Indicates if the credential is read-only
UUID of the bucket
The subfolder within the bucket
Credential successfully updated
PUT /api/api/v2/stook/{organization_uuid}/credential/{credential_uuid} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"name": "text",
"is_readonly": true,
"buckets": [
"text"
],
"subfolder": "text"
}
Credential successfully updated
{
"status": true,
"data": {
"uuid": "text",
"name": "text",
"is_readonly": true,
"buckets": [
"text"
],
"subfolder": "text"
}
}
Last updated
Was this helpful?