{"_id":"55c06b1e344dc40d00f55854","category":{"_id":"55be547efb412237002167b8","version":"55be547dfb412237002167ab","__v":6,"pages":["55c06ac29459770d00038170","55c06ad937298d0d00088c6a","55c06af9344dc40d00f55852","55c06b0c37298d0d00088c6c","55c06b1e344dc40d00f55854","55c06b439459770d00038173"],"project":"5579fdb734ca680d00fc4218","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-07-31T18:18:47.669Z","from_sync":false,"order":6,"slug":"profiles","title":"Profiles"},"editedParams2":true,"version":{"_id":"55be547dfb412237002167ab","project":"5579fdb734ca680d00fc4218","__v":3,"createdAt":"2015-08-02T17:33:49.399Z","releaseDate":"2015-08-02T17:33:49.399Z","categories":["55be547efb412237002167ac","55be547efb412237002167ad","55be547efb412237002167ae","55be547efb412237002167af","55be547efb412237002167b0","55be547efb412237002167b1","55be547efb412237002167b2","55be547efb412237002167b3","55be547efb412237002167b4","55be547efb412237002167b5","55be547efb412237002167b6","55be547efb412237002167b7","55be547efb412237002167b8","55be547efb412237002167b9","55be547efb412237002167ba","584a4b989aedb00f001446b7","584a4ba509124c0f004c15bc"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Product name change","version_clean":"1.0.0","version":"1.0"},"__v":1,"project":"5579fdb734ca680d00fc4218","editedParams":true,"parentDoc":null,"user":"5579fd9534ca680d00fc4217","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-04T07:34:54.429Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"post","results":{"codes":[]},"settings":"","auth":"required","params":[{"_id":"55c1b2b40efeaf2b002ca420","ref":"","in":"body","required":false,"desc":"Profile Name","default":"","type":"string","name":"name"},{"_id":"55c1b2b40efeaf2b002ca41f","ref":"","in":"body","required":false,"desc":"Is this  a default profile?","default":"","type":"boolean","name":"defaultProfile"},{"_id":"55c1b2b40efeaf2b002ca41e","ref":"","in":"body","required":false,"desc":"Memory Cap","default":"","type":"string","name":"memoryCap"},{"_id":"55c1b2b40efeaf2b002ca41d","ref":"","in":"body","required":false,"desc":"No. of CPU Cap","default":"","type":"string","name":"cpuCap"},{"_id":"55c1b2b40efeaf2b002ca41c","ref":"","in":"body","required":false,"desc":"No. of Containers Cap","default":"","type":"string","name":"containerCap"},{"_id":"55c1b2b40efeaf2b002ca41b","ref":"","in":"body","required":false,"desc":"Storage Cap","default":"","type":"string","name":"storageCap"}],"url":"/profiles"},"isReference":true,"order":4,"body":"","excerpt":"Create a new Profile","slug":"profiles-1","type":"endpoint","title":"/profiles"}

post/profiles

Create a new Profile

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

name:
string
Profile Name
defaultProfile:
boolean
Is this a default profile?
memoryCap:
string
Memory Cap
cpuCap:
string
No. of CPU Cap
containerCap:
string
No. of Containers Cap
storageCap:
string
Storage Cap

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}