def METHOD_NAME(access_token, project_id, cluster_id, namespace, creator):
    resp = paas_cc.create_namespace(access_token, project_id, cluster_id, namespace, None, creator, 'prod', True)
    if resp.get('code') != ErrorCode.NoError:
        raise error_codes.APIError(f'create namespace error, {resp.get("message")}')
    return resp['data']