cURL
curl --request PATCH \ --url https://api.promptlayer.com/api/public/v2/skill-collections/{identifier} \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "name": "<string>" } '
{ "success": true, "skill_collection": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workspace_id": 123, "folder_id": 123, "root_path": "<string>", "name": "<string>", "provider": "<string>", "is_deleted": true, "created_by": 123, "created_at": "2023-11-07T05:31:56Z", "updated_by": 123, "updated_at": "2023-11-07T05:31:56Z" } }
Your PromptLayer API key.
Skill collection UUID, name, or root_path.
Skill collection updated successfully.
true
A skill collection container in the public API.
Show child attributes
Was this page helpful?