curl --request PUT \
--url https://{controlPlaneURL}/api/svc/v1/apply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"manifest": {
"type": "ml-repo",
"name": "<string>",
"description": "<string>",
"storage_integration_fqn": "<string>",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
]
},
"dryRun": true
}'
{
"existingManifest": {
"type": "ml-repo",
"name": "<string>",
"description": "<string>",
"storage_integration_fqn": "<string>",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
]
},
"action": "CREATE"
}
Applies a given manifest to create or update resources of specific types, such as provider-account, cluster, workspace, or ml-repo.
curl --request PUT \
--url https://{controlPlaneURL}/api/svc/v1/apply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"manifest": {
"type": "ml-repo",
"name": "<string>",
"description": "<string>",
"storage_integration_fqn": "<string>",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
]
},
"dryRun": true
}'
{
"existingManifest": {
"type": "ml-repo",
"name": "<string>",
"description": "<string>",
"storage_integration_fqn": "<string>",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
]
},
"action": "CREATE"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The resource has been successfully created or updated.
The response is of type object
.
Was this page helpful?