Link a KV store to another project
POST /api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link
POST
/api/v2/organizations/{organization}/projects/{project}/kv/{store_id}/link
Share a KV store from the source project with a target project. The store will be accessible in the target project.
Authorizations
Parameters
Path Parameters
organization
required
string
Organization identifier
Example
test-org project
required
string
Source project identifier
Example
test-project store_id
required
string
KV store identifier
Example
store-123Request Body required
object
project_id
required
Target project ID to link to
integer
Responses
200
Store linked successfully
object
success
boolean
true message
string
400
Store already linked or invalid request
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true{ "message": "The requested resource was not found", "error": true}403
Access forbidden
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true{ "message": "The requested resource was not found", "error": true}404
Store or target project not found
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true{ "message": "The requested resource was not found", "error": true}