action anchore_create_user { label: "Create a new user" provider: anchore method: POST path: "/accounts/{accountname}/users" encoding: json input: { type: "object" properties: { accountname: { type: "string" } password: { type: "string" description: "The initial password for the user, must be at least 6 characters, up to 128" } username: { type: "string" description: "The username to create" } } required: ["accountname", "password", "username"] additionalProperties: false } output: { type: "object" description: "A username for authenticating with one or more types of credentials. User type defines the expected credentials allowed for the user. Native users have passwords, External users have no credential internally. Internal users are service/system users for inter-service communication." required: ["username"] properties: { created_at: { type: "string" format: "date-time" description: "The timestampt the user record was created" } last_updated: { type: "string" format: "date-time" description: "The timestamp of the last update to this record" } source: { type: "string" description: "If the user is external, this is the source that the user was initialized from. All other user types have this set to null" } type: { type: "string" description: "The user's type" enum: ["native", "internal", "external"] } username: { type: "string" description: "The username to authenticate with" } } } }